mkCallsGraph: Information on which Functions a Function Calls in an LLVM...

mkCallsGraphR Documentation

Information on which Functions a Function Calls in an LLVM Module

Usage

mkCallsGraph(m, funs = getModuleFunctions(m))

Arguments

m

the Module-class containing the Function-class objects

funs

the list of Function-class objects to process. This allows the caller to focus on a subset of the functions.

Details

This uses the LLVM CallGraph class.

Value

A list with as many elements as there are regular Function objects (ignoring the llvm intrinsics). Each element is a character vector with the names of the routines that routine calls.

Note

This doesn't necessarily handle function/routine pointers and calls to those.

Author(s)

DTL

See Also

Module-class, Function-class, CallInst-class, InvokeInst-class, parseIR, readBitcode.


duncantl/Rllvm documentation built on May 13, 2024, 7:45 p.m.