flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > [fasm2] macro for making ELF64 x86-64 Linux executables |
| Author |
|
|
cbytensky 20 Dec 2025, 15:37
I wrote a set of macros for producing ELF64 x86-64 Linux executable binaries.
https://github.com/cbytensky/fasm2-elf64 Examples. HelloWorld using syscalls: Code: include "elf64.inc" sys write, 1, <"hello, world", 10>, @$ sys exit, 0 Produces 148-byte ELF64. HelloWorld using libc: Code: include "elf64.inc" needed "libc.so.6" dyncallz puts, "hello, world" dyncall _exit, 0 Produces 464-byte ELF64. Implemented:
Non-features/limitations:
|
|||
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.