mate.poi.analysis.TruncatedInteger module¶
- class mate.poi.analysis.TruncatedInteger.TruncatedInteger¶
Bases:
mate.poi.poi_types.Analysis
- class mate.poi.analysis.TruncatedInteger.TruncatedIntegerPOI(*, insight: str, source: str = None, sink: str = None, salient_functions: List[mate_common.models.analyses.SalientFunction] = [], user_input: str, malloc: str, trunc_op: str)¶
Bases:
mate_common.models.analyses.POI
- Parameters
insight (str) –
source (Optional[str]) –
sink (Optional[str]) –
salient_functions (List[mate_common.models.analyses.SalientFunction]) –
user_input (str) –
malloc (str) –
trunc_op (str) –
- Return type
None
- malloc: str¶
- trunc_op: str¶
- user_input: str¶
- mate.poi.analysis.TruncatedInteger.compute_truncated_integers(session: Session, cpg: db.Graph) Iterator[Tuple[InputSignature, Node, Instruction]] ¶
- Parameters
- Return type
Iterator[Tuple[InputSignature, Node, Instruction]]