Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cfi): Skip invalid PE runtime function entries #230

Merged
merged 1 commit into from
May 6, 2020

Conversation

jan-auer
Copy link
Member

@jan-auer jan-auer commented May 5, 2020

We've seen files where the start/end addresses in RuntimeFunction entries are not matching up. Instead of causing an underflow error, we can skip such errors gracefully.

For reference, Breakpad's dump_syms fails with a failed assertion in this case.

@jan-auer jan-auer self-assigned this May 5, 2020
@jan-auer jan-auer requested a review from a team May 5, 2020 15:23
Copy link
Member

@Swatinem Swatinem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol

@jan-auer jan-auer merged commit 5753b16 into master May 6, 2020
@jan-auer jan-auer deleted the fix/pe-cfi-skip-invalid branch May 6, 2020 07:10
jan-auer added a commit that referenced this pull request May 7, 2020
* master:
  meta(github): Update codeowners
  fix(cfi): Skip invalid PE runtime function entries (#230)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants