DynamoRIO / DynamoRIO/dynamorio

Module load event not raise for native_exec modules

Open
#3,030 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 18h
Merged PRs (30d)
30

Description

While using the -native_exec_list option with certain dll's(jvm.dll in java.exe for example), i noticed that module load callbacks get delayed until we attempt to shutdown the process. Using process explorer, i can see all the dll's loaded but do not see module load callbacks for them in the client until we attempt to shutdown the process.
Are the module load events for dll's expected to be as soon as the DLL's are loaded into the process or only when they get executed from?
Also, are there more finer grained controls(start and end pc for example) to be able to run some portions of the application natively and others under instrumentation?

Contributor guide

Open the contributing guide

Research direction

Start by tracing the native_exec_list option and the module load callback path, then compare DLL load timing with the shutdown behavior described for jvm.dll. Done should establish whether callbacks are expected at load or execution time and whether start/end PC controls are supported or need a defined change.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
devtools, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.