-
-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux: Avoid spurious .so ranges during injection
By checking that the mapping starts at file offset zero, and considering all candidates ranked by the number of mappings, and whether executable mappings exist in a given cluster. Now that Gum.Module objects live longer, and may have an Gum.ElfModule that has the ELF mapped, there's a much higher likelihood of running into such spurious ranges.
- Loading branch information
Showing
1 changed file
with
66 additions
and
21 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