-
-
Notifications
You must be signed in to change notification settings - Fork 642
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix MachO::Binary::shift_command (#1131)
* Fix MachO::Binary::shift_command virtual_address Function argument `from_offset` is a file offset that we need to adjust before adding to VA of segment. Co-authored-by: Richard Dzenis <rdzenis@whitecryption.com> * Fix symbols shift in MachO::Binary::shift_command Fix adjustments of symbols: their values should be compared to VA instead of file offset. Co-authored-by: Richard Dzenis <rdzenis@whitecryption.com> * Add test for shift of symbols in MachO * Cleanup tests/macho/test_symbols.py --------- Co-authored-by: Uldis Kalnins <ukalnins@whitecryption.com> Co-authored-by: Romain Thomas <me@romainthomas.fr>
- Loading branch information
1 parent
2239937
commit e557086
Showing
2 changed files
with
21 additions
and
4 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