Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Finding the entrypoint

9 views
Skip to first unread message

Ahmet Göker

unread,
Jan 9, 2025, 12:04:02 PMJan 9
to DynamoRIO Users
Hello everyone, I have a quick question. I am trying to find the entry point of the main function, but I have not been able to succeed. I have tried several different approaches, but none of them have worked so far. Could you please help me?  


dr.pngdr1.png

Derek Bruening

unread,
Jan 9, 2025, 12:18:25 PMJan 9
to Ahmet Göker, DynamoRIO Users
module_data_t.entry_point: https://dynamorio.org/struct__module__data__t.html#ab2b5d31d865ee49c647eb74a57ef91e1

(The entry point is not "main": main isn't run until after a lot of code between _start and __libc_start_main are run; if you really want to find "main" you would use drsym_lookup_symbol() as it is not an exported function and so dr_get_proc_address() will not find it.)

On Thu, Jan 9, 2025 at 12:04 PM Ahmet Göker <ransomwa...@gmail.com> wrote:
Hello everyone, I have a quick question. I am trying to find the entry point of the main function, but I have not been able to succeed. I have tried several different approaches, but none of them have worked so far. Could you please help me?  


dr.pngdr1.png

--
You received this message because you are subscribed to the Google Groups "DynamoRIO Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dynamorio-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dynamorio-users/8747a88d-a5f4-4623-80e8-3545ff2b57ecn%40googlegroups.com.

Ahmet Göker

unread,
Jan 9, 2025, 12:46:47 PMJan 9
to DynamoRIO Users
of course! Thank you:

drw.png
drw1.png
Reply all
Reply to author
Forward
0 new messages