Skip to content

Instantly share code, notes, and snippets.

View Liebranca's full-sized avatar
🦢
$:BOOT;>

دانتي باولا Liebranca

🦢
$:BOOT;>
  • Buenos Aires, Argentina
View GitHub Profile
@Liebranca
Liebranca / dice.asm
Last active October 31, 2024 15:33
D&D dice set in flat assembler
; to compile: fasm dice.asm roll
; to run: ./roll 1d20 2d4 4d6 etc.
;
; --- * --- * ---
; info
format ELF64 executable 3;
entry _start;
define VERSION v0.00.6a;
@Liebranca
Liebranca / realloc-stack.asm
Last active August 11, 2024 21:01
Rellocate stack to the heap (evil)
format ELF64 executable 3;
entry start;
segment readable writeable
; copied verbatim from my lib
SYS.mmap:
.id = $09
.proto_r = $01
.proto_rw = $03