module greed.function
class TAC_Function
This class represents a TAC function.
method __init__
__init__(
id: str,
signature: str,
name: str,
public: bool,
blocks: List[Block],
arguments: List[str]
)
Args:
id
: The id of the functionsignature
: The signature of the functionname
: The name of the functionpublic
: Whether the function is public or notblocks
: The list of blocks that compose the functionarguments
: The list of arguments of the function
method build_cfg
Building the intra-functional CFG of a target function.
Args:
factory
: The factory objecttac_block_succ
: The mapping between block ids and their successors
method build_use_def_graph
Building the use-def graph of a target function.
method dump_use_def_graph
Dump the use-def graph to a .dot file.
Args:
filename
: The name of the output file.
This file was automatically generated via lazydocs.