Skip to content

Commit

Permalink
Add asciistr rasm2 test
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Sep 5, 2024
1 parent 0cc7ec4 commit 07826b0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/asciistr.asm
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 07826b0

Please sign in to comment.