File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 2121#include < util/pointer_offset_size.h>
2222#include < string.h>
2323
24- // / reads a memory address and loads it into the dest variable marks cell as
25- // / read before written if cell has never been written
24+ // / Reads a memory address and loads it into the ` dest` variable.
25+ // / Marks cell as `READ_BEFORE_WRITTEN` if cell has never been written.
2626void interpretert::read (
2727 const mp_integer &address,
2828 mp_vectort &dest) const
@@ -102,7 +102,9 @@ void interpretert::clear_input_flags()
102102 }
103103}
104104
105- // / \return Number of leaf primitive types; returns true on error
105+ // / \param ty: a type
106+ // / \param [out] result: Number of leaf primitive types in `ty`
107+ // / \return returns true on error
106108bool interpretert::count_type_leaves (const typet &ty, mp_integer &result)
107109{
108110 if (ty.id ()==ID_struct)
@@ -299,6 +301,9 @@ bool interpretert::memory_offset_to_byte_offset(
299301 }
300302}
301303
304+ // / Evaluate an expression
305+ // / \param expr: expression to evaluate
306+ // / \param [out] dest: vector in which the result of the evaluation is stored
302307void interpretert::evaluate (
303308 const exprt &expr,
304309 mp_vectort &dest)
You can’t perform that action at this time.
0 commit comments