Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only compare the bytes that were provided in `name`, instead of fixed 8. There are a couple of problems with this, however: - Theoretically, a section that starts with `.text`, but that isn't `.text` we need, can exist before the expected one. This change will break this use case. But it's incredibly unlikely, so whatever. - A `.text` whose name doesn't start with `.text` won't be found this way. But it wouldn't normally, anyway. Until someone with such a binary appears, I choose to do nothing. Closes #5
- Loading branch information