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

lldb qemu-user vmmap #2631

Open
patryk4815 opened this issue Dec 16, 2024 · 0 comments
Open

lldb qemu-user vmmap #2631

patryk4815 opened this issue Dec 16, 2024 · 0 comments
Labels
feature For new features LLDB Port

Comments

@patryk4815
Copy link
Member

LLDB:

pwndbg-lldb> vmmap
There are no mappings for specified address or module.

In [3]: platform.Get(lldb.SBFileSpec("/proc/194317/maps"), lldb.SBFileSpec("/tmp/y"))
Out[3]: error: unimplemented

In [4]: pwndbg.aglib.proc.pid
Out[4]: 0

GDB:

In [1]: pwndbg.aglib.proc.pid
Out[1]: 194496

In [2]: print(pwndbg.aglib.file.get('/proc/194496/maps').decode())
10000-5f000 r-xp 00000000 00:2f 4763477                                  /pwndbg/hello
5f000-62000 r--p 0004e000 00:2f 4763477                                  /pwndbg/hello
62000-63000 rw-p 00051000 00:2f 4763477                                  /pwndbg/hello
63000-88000 rw-p 00000000 00:00 0
40000000-40001000 ---p 00000000 00:00 0
40001000-40801000 rw-p 00000000 00:00 0                                  [stack]
40801000-40802000 r-xp 00000000 00:00 0                                  [vdso]
ffff0000-ffff1000 r-xp 00000000 00:00 0
@patryk4815 patryk4815 added feature For new features LLDB Port labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature For new features LLDB Port
Development

No branches or pull requests

1 participant