Skip to content

Fix annotation extraction + thrown exceptions from Dex byte code / Android projects #1521

Open
aburghuber wants to merge 12 commits into
soot-oss:developfrom
aburghuber:fix/extract-android-annotations
Open

Fix annotation extraction + thrown exceptions from Dex byte code / Android projects #1521
aburghuber wants to merge 12 commits into
soot-oss:developfrom
aburghuber:fix/extract-android-annotations

Conversation

@aburghuber
Copy link
Copy Markdown

What does this PR do?

Implements the extraction of Annotation information from Dex byte code for JavaSootMethods and JavaSootFields.
Also extracts the thrown exceptions of a method.


Checklist

Code style & guidelines

  • I ran the formatter: mvn com.spotify.fmt:fmt-maven-plugin:format
  • I added the necessary comments in the code - Not needed
  • I provided meaningful tests for my proposed change - Not needed
  • I updated documentation (if needed) - Not needed

Self-review

  • I performed a self-review of my code
  • I added or updated tests where needed
  • I have successfully run tests with your changes locally
  • My branch is up to date with develop

Review

  • CI checks are green
  • I requested a review from a core contributor

@aburghuber
Copy link
Copy Markdown
Author

Failing CI test ClassHierarchyAnalysisAlgorithmTest.testMiscExample1 works locally, no idea why it fails here

@JonasKlauke
Copy link
Copy Markdown
Collaborator

JonasKlauke commented Feb 16, 2026

mmh this is some wierd issue caused by the hardcoded assertion in the test.
I have improved the test in #1523. Your tests should work if you merge from develop, after the PR is merged.

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.

3 participants