forked from benfred/py-spy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix finding BSS sections (benfred#624)
* Fix finding BSS sections There can be multiple NOBITS sections in an ELF binary - and we were taking the first one as being the BSS section. In certain cases this doesn't work (including the latest python 3.12 binary in conda) - since there can be '.tbss' or '.sbss' sections instead. Fix by performing an additional filter step using the section name. * fix windows build with newer indicatif Granulate backport notes: We only cherry-picked the changes to code and not dependencies, as the current versions of packages are enough to use the new code.
- Loading branch information
Showing
2 changed files
with
23 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