-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve main executable detection (#44)
The logic here is a bit flimsy and should be reworked, but let's at least mark first executables as the "main" ones. More context in the comment but overall this is not always correct, in particular Rust + static musl is broken due how the loader operates for that case. We should understand the kernel and loader's logic in detail and fully replicate it here. Test Plan ========= Ran locally for several minutes without issues. The profilers looked good (see PR) and 0 unexpected errors were emitted.
- Loading branch information
1 parent
a1ad903
commit 4eedba4
Showing
2 changed files
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters