Skip to content

Add support for memory-mapped ELFs #77

Answered by serge1
galjs asked this question in Ideas
Sep 15, 2021 · 10 comments · 4 replies
Discussion options

You must be logged in to vote

I have implemented address translation for segments too. It looks better than sections.
Please give a try to 'proc_mem' example located in 'translate_offset' branch.

You need to provide program arguments like:

proc_mem <PID of the running process> <Full path to the original ELF file location>

For example:

sudo proc_mem 2919 /usr/bin/bash

or

sudo proc_mem 2919 /usr/lib/x86_64-linux-gnu/ld-2.33.so (for the same PID!)

Is that what you have in mind?

Please note - it is different from processing of a core dump. The core dump looks like a regular ELF file.

Just a note: I found it convinient to compare segments' data by using 'proc_mem' vs. 'elfdump' examples

Replies: 10 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by serge1
Comment options

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

Comment options

You must be logged in to vote
0 replies
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #76 on September 19, 2021 12:42.