-
Notifications
You must be signed in to change notification settings - Fork 431
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
On running a llvm pass before svf pag construction #1399
Comments
Hi, I would appreciate it if someone would give me some hints here. To make my question clearer, I want to find a function in which I can access the original LLVM::module and do some analysis, then I want to append the results into the SVFNode class. |
It is not suggested to access llvm data structure and APIs in SVF. You are ok to conduct llvm analysis solely in the svf-llvm folder. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Thanks for providing such a useful tool. I want to incorporate an llvm pass that performs type analysis, which may add some attributes to the SVFIRBuilder class while also affecting the PAG construction. But I looked into the svf-llvm folder but did not find an entry.
The pass scans through the struct definition part of the IR to filter out some interesting struct types and record these types as a field of the SVFIRBuilder class. I will use these records in the PAG building part.
Could you give me a hint on in which file or which function I should put my code? Thanks in advance!
The text was updated successfully, but these errors were encountered: