mate_common.models.cpg_types.bin module

class mate_common.models.cpg_types.bin.UsedMemory(*, segment: str, base: str, index: str, scale: int, displacement: int, memory_size: int, access: str, vsib_size: int)

Bases: pydantic.main.BaseModel

A symbolic representation of an ASMInst’s use of a memory location, including how that memory is used.

Parameters
  • segment (str) –

  • base (str) –

  • index (str) –

  • scale (int) –

  • displacement (int) –

  • memory_size (int) –

  • access (str) –

  • vsib_size (int) –

Return type

None

access: str
base: str
displacement: int
index: str
memory_size: int
scale: int
segment: str
vsib_size: int
class mate_common.models.cpg_types.bin.UsedRegister(*, register: str, access: str)

Bases: pydantic.main.BaseModel

A symbolic representation of an ASMInst’s use of a register, including how that register is used.

Parameters
  • register (str) –

  • access (str) –

Return type

None

access: str
register_: str