diff --git a/src/asciistr.asm b/src/asciistr.asm new file mode 100644 index 0000000..656435d --- /dev/null +++ b/src/asciistr.asm @@ -0,0 +1,16 @@ +.arch x86 +.bits 64 + +.text +.global _start +_start: + lea rdi, [rip + lib] + mov rax, 0x7ffff7c87bd0 ; puts + call rax + ret + +.data +lib: + .ascii "/home/nitanmarcel/shell/example/libhello.so" +lib2: + .asciiz "/home/nitanmarcel/shell/example/libhello.so"