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

Add support for annotations in backtrace analysis #126

Open
wants to merge 3 commits into
base: mainline
Choose a base branch
from

Conversation

sahinfalcon
Copy link

Issue #, if available: Fixes #104

Description of changes: Adds support for annotations in backtrace analysis by adding the calls to state.ResolveSsaNode in analysis/dataflow/code_identifiers.go and the new backtrace annotations in analysis/annotations/annotations.go as outlined in #104
All local tests run OK 😄

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@sahinfalcon sahinfalcon changed the title Add backtrace annotations Add support for annotations in backtrace analysis Dec 20, 2024
@victornicolet
Copy link
Contributor

Thank you for the contribution! I think we just need a few tests in the backtrace analysis with the annotations. For example we have similar ones for the taint analysis with data in analysis/taint/testdata/annotations.

@sahinfalcon
Copy link
Author

I'll write some tests, thanks for the feedback 😃

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.

Support annotations in backtrace analysis
2 participants