Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linker detection is incorrect under qemu-user. #91

Closed
zachriggle opened this issue Jun 23, 2016 · 0 comments
Closed

Linker detection is incorrect under qemu-user. #91

zachriggle opened this issue Jun 23, 2016 · 0 comments
Labels

Comments

@zachriggle
Copy link
Contributor

Given a trivial ARM binary which needs a linker:

pwndbg> vmmap
LEGEND: STACK | HEAP | CODE | DATA | RWX | RODATA
    0x8000     0x9000 r-xp     1000 0      /home/user/a.out
    0x9000    0x10000 ---p     7000 0      /home/user/a.out
   0x10000    0x11000 r--p     1000 0      /home/user/a.out
   0x11000    0x12000 rw-p     1000 1000   /home/user/a.out
0xf67dd000 0xf67f5000 r--p    18000 0      [linker] <=== Note page permissions and start address
0xf6ffd000 0xf7000000 rw-p     3000 0      [stack]
pwndbg> aux
AT_BASE                  0xf67de000 <-- 0x464c457f <=== Note correct address and ELF header
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant