Definition at line 94 of file analyze_symbol.h.
◆ memory_scopet()
◆ address2size_t()
size_t gdb_value_extractort::memory_scopet::address2size_t |
( |
const memory_addresst & |
point | ) |
const |
|
private |
Convert base-16 memory address to a natural number.
- Parameters
-
point | the memory address to be converted |
- Returns
- base-10 unsigned integer equal in value to
point
Definition at line 45 of file analyze_symbol.cpp.
◆ check_containment()
bool gdb_value_extractort::memory_scopet::check_containment |
( |
const size_t & |
point_int | ) |
const |
|
inlineprivate |
Helper function that check if a point in memory points inside this scope.
- Parameters
-
point_int | memory point as natural number |
- Returns
- true if the point is inside this scope
Definition at line 109 of file analyze_symbol.h.
◆ contains()
bool gdb_value_extractort::memory_scopet::contains |
( |
const memory_addresst & |
point | ) |
const |
|
inline |
Check if point
points somewhere in this memory scope.
- Parameters
-
point | memory address to be check for presence |
- Returns
- true if
point
is inside *this
Definition at line 123 of file analyze_symbol.h.
◆ distance()
Compute the distance of point
from the beginning of this scope.
- Parameters
-
point | memory address to have the offset computed |
member_size | size of one element of this scope in bytes |
- Returns
- ‘n’ such that
point
is the n-th element of this scope
Definition at line 51 of file analyze_symbol.cpp.
◆ id()
irep_idt gdb_value_extractort::memory_scopet::id |
( |
| ) |
const |
|
inline |
Getter for the name of this memory scope.
- Returns
- the name as irep id
Definition at line 137 of file analyze_symbol.h.
◆ size()
mp_integer gdb_value_extractort::memory_scopet::size |
( |
| ) |
const |
|
inline |
Getter for the allocation size of this memory scope.
- Returns
- the size in bytes
Definition at line 144 of file analyze_symbol.h.
◆ begin_int
size_t gdb_value_extractort::memory_scopet::begin_int |
|
private |
◆ byte_size
mp_integer gdb_value_extractort::memory_scopet::byte_size |
|
private |
◆ name
irep_idt gdb_value_extractort::memory_scopet::name |
|
private |
The documentation for this struct was generated from the following files: