BCHMemoryReference
val memory_base_to_pretty : BCHLibTypes.memory_base_t -> CHPretty.pretty_t
val memory_offset_to_pretty : BCHLibTypes.memory_offset_t -> CHPretty.pretty_t
val memory_offset_to_string : BCHLibTypes.memory_offset_t -> string
val stack_offset_to_name : BCHLibTypes.memory_offset_t -> string
val realigned_stack_offset_to_name : BCHLibTypes.memory_offset_t -> string
val global_offset_to_name : int -> BCHLibTypes.memory_offset_t -> string
val memory_offset_compare :
BCHLibTypes.memory_offset_t ->
BCHLibTypes.memory_offset_t ->
int
val mk_maximal_memory_offset :
CHNumerical.numerical_t ->
BCHBCTypes.btype_t ->
BCHLibTypes.memory_offset_t
val is_constant_offset : BCHLibTypes.memory_offset_t -> bool
Returns true
if memoff
consists entirely of constant (numerical) values.
val is_field_offset : BCHLibTypes.memory_offset_t -> bool
Returns true
if memoff
itself or one of its suboffsets is a field offset.
val is_index_offset : BCHLibTypes.memory_offset_t -> bool
Returns true
if memoff
itself or one of its suboffsets is an index offset.
val is_unknown_offset : BCHLibTypes.memory_offset_t -> bool
Returns true
if memoff
itself or one of its suboffsets is an unknown offset.
val add_offset :
BCHLibTypes.memory_offset_t ->
BCHLibTypes.memory_offset_t ->
BCHLibTypes.memory_offset_t
val get_constant_offsets :
BCHLibTypes.memory_offset_t ->
CHNumerical.numerical_t list
Returns a list of numerical offset and suboffsets.
val get_total_constant_offset :
BCHLibTypes.memory_offset_t ->
CHNumerical.numerical_t
Returns the sum of all numerical offsets in memoff
.
val get_index_offset_variables :
BCHLibTypes.memory_offset_t ->
CHLanguage.variable_t list
Returns the list of index variables in memoff
(including suboffsets. Returns the empty list if memoff
is not an index offset.
val make_memory_reference_manager :
BCHLibTypes.vardictionary_int ->
BCHLibTypes.memory_reference_manager_int