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 get the llvm::Function corresponding to SVFFunction? #1489

Open
Lqs66 opened this issue Jun 14, 2024 · 2 comments
Open

How to get the llvm::Function corresponding to SVFFunction? #1489

Lqs66 opened this issue Jun 14, 2024 · 2 comments

Comments

@Lqs66
Copy link

Lqs66 commented Jun 14, 2024

Dear Author.
I used the SVF of master branch for the analysis of indirect calls. I found that callee is SVFFunction object and I want to get the corresponding llvm function. what should I do?

@yuleisui
Copy link
Collaborator

You could use this API

const Value* getLLVMValue(const SVFValue* value) const

@Lqs66
Copy link
Author

Lqs66 commented Jun 14, 2024

You could use this API

const Value* getLLVMValue(const SVFValue* value) const

Thank you for your reply.

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