Header menu logo B2R2

StaticValueFacts Module

Provides functions for extracting statically resolvable memory access addresses and constant register definitions from LowUIR statements.

Functions and values

Function or value Description

StaticValueFacts.ofStmts addr stmts

Full Usage: StaticValueFacts.ofStmts addr stmts

Parameters:
Returns: StaticValueFacts

Extracts statically resolvable memory read/write addresses and constant register definitions from statements given that the base address is known. This function assumes that the statements are from a single instruction located at the given address, so we do not follow inter-instruction branches (i.e., InterJmp and InterCJmp).

addr : Addr
stmts : Stmt[]
Returns: StaticValueFacts

Type something to start searching.