From 07826b00e4d9df81522a2962879d2f2734da69f0 Mon Sep 17 00:00:00 2001 From: pancake Date: Thu, 5 Sep 2024 12:57:25 +0200 Subject: [PATCH] Add asciistr rasm2 test --- src/asciistr.asm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/asciistr.asm 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"