Skip to content

Why is it necessary to analyze "function pointer arguments" and StoreInst in CallgraphPass? #1

@Shawdox

Description

@Shawdox

Dear Professor Song,
I'm new in LLVM and I was recently trying to read through the source code and part of the CallGraphPass code made me wonder.
Why in the CallGraphPass::runOnFunction(Function *F) function, after analyzing the possible Callee of each instruction, do you have to analyze its parameters and stored instructions?
Respect.

bool CallGraphPass::runOnFunction(Function *F) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions