I recently started trying to program in FreeBSD x86_64 assembly, following some tutorials and I ended up with such hello world program.
section .data
hello db "Hello, world!", 10
section .text
global _start
_start:
mov rdi, 1
mov rsi, hello
mov rdx, 14
mov...
Hi guys
I am trying to call functions from the C library in my ASM code. For example I prefer to use printf before doing a syscall to write.
So I disassembled a simple binary and could see that a call to printf derives to the PLT section.
That if I'm not mistaken is a link table, since printf...
Hi.
I'm trying to make a simple pure asm multi-threading app.
There is a syscall
430 AUE_THR_CREATE STD { int thr_create(ucontext_t *ctx, long *id, int flags); }
But I can't find any example how to use that, especially how to create context?
Of course I can wrap it in C. But...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.