Skip to content

Setting or accessing library load addresses #48

Answered by Boyan-MILANOV
novafacing asked this question in Q&A
Discussion options

You must be logged in to vote

There's a manual way to get the library load addresses (provided that they have been loaded with mmap), by simply printing the MaatEngine memory. Taken from your example in #49 (during load time so not all libraries have been loaded yet):

>>> stage1.engine.mem

Mappings:

Start               End                 Name
-----               ---                 ----
0x1000              0x1fff              ld-linux-x86-64.so.2
0x2000              0x24fff             ld-linux-x86-64.so.2
0x25000             0x2cfff             ld-linux-x86-64.so.2
0x2e000             0x30fff             ld-linux-x86-64.so.2
0x31000             0x430fff            Interp. Heap
0x431000            0x806fff         …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@novafacing
Comment options

Answer selected by novafacing
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants