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

How to modify PAG/ICFG? #1432

Open
JuliusNmn opened this issue Apr 10, 2024 · 2 comments
Open

How to modify PAG/ICFG? #1432

JuliusNmn opened this issue Apr 10, 2024 · 2 comments

Comments

@JuliusNmn
Copy link

I am working on a static analysis to resolve certain kinds of dynamic method calls (JNI). What is the best way to extend the SVFG? Specifically, I am looking to add indirect call edges.

@JuliusNmn JuliusNmn changed the title How to modify SVFG? How to modify PAG/ICFG? Apr 10, 2024
@yuleisui
Copy link
Collaborator

This will need to be done via SVFIRBuilder and ICFGBuilder. You could search these two classes to find corresponding APIs. These APIs are private/protected under classes PAG and ICFG and can only be accessed by friend classes like their builders.

@JuliusNmn
Copy link
Author

Thanks for your help. I have decided to perform my modifications in an LLVM pass instead, as my use case requires heavier modification of the LLVM Module under analysis.

@JuliusNmn JuliusNmn reopened this Apr 15, 2024
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

No branches or pull requests

2 participants