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 CFI entries instead of erroring out #232

Merged
merged 1 commit into from
May 7, 2020

Conversation

jan-auer
Copy link
Member

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

We've encountered files that contain CFI entries pointing before the load address of the image. Such entries are invalid, since they cannot be mapped to a relative address. Since such a file can still contain valid entries, rather skip them and continue.

@jan-auer jan-auer requested a review from a team May 7, 2020 09:07
@jan-auer jan-auer self-assigned this May 7, 2020
Copy link
Contributor

@flub flub left a comment

Choose a reason for hiding this comment

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

How difficult is it to add a test for this?

@jan-auer jan-auer force-pushed the fix/skip-invalid-cfi-entries branch from f91d9bc to 529b2ea Compare May 7, 2020 09:15
@jan-auer jan-auer merged commit 1205116 into master May 7, 2020
@jan-auer jan-auer deleted the fix/skip-invalid-cfi-entries branch May 7, 2020 09:34
jan-auer added a commit that referenced this pull request May 7, 2020
* master:
  fix(cfi): Skip invalid CFI entries instead of erroring out (#232)
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