File tree 3 files changed +14
-0
lines changed 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -369,6 +369,9 @@ void value_sett::get_value_set(
369
369
#endif
370
370
}
371
371
372
+ // / \brief Builds a version of expr suitable for alias-comparison
373
+ // / \param expr The expression to be converted to the alias-uniform structure
374
+ // / \return expr without information which is irrelevant to alias-comparison
372
375
static exprt get_uniform_expr (const exprt &expr)
373
376
{
374
377
if (expr.id ()==ID_object_descriptor)
@@ -387,6 +390,9 @@ static exprt get_uniform_expr(const exprt &expr)
387
390
return expr;
388
391
}
389
392
393
+ // / \brief Reconstructs a type of a pointer to the object expr
394
+ // / \param expr An object in a points-to set we make an alias type for
395
+ // / \return A type of a pointer to the object expr
390
396
static typet get_alias_type (const exprt &expr)
391
397
{
392
398
if (expr.id ()==ID_object_descriptor)
Original file line number Diff line number Diff line change @@ -221,6 +221,10 @@ class value_sett
221
221
value_setst::valuest &dest,
222
222
const namespacet &ns) const ;
223
223
224
+ // / \brief Computes all pointers which MAY point to objects pointed to by expr
225
+ // / \param expr Identifies a points
226
+ // / \param dest Output container for pointers to objects pointed to by expr
227
+ // / \param ns A reference to a symbol table
224
228
void get_may_alias_set (
225
229
const exprt &expr,
226
230
value_setst::valuest &dest,
Original file line number Diff line number Diff line change @@ -113,6 +113,10 @@ class value_set_analysis_baset:
113
113
baset::ns);
114
114
}
115
115
116
+ // / \brief Fills in dest with all pointers to any object pointed to be expr
117
+ // / \param l A program location w.r.t which the operation will be performed
118
+ // / \param expr Identifies a points-to set whose aliases we will compute
119
+ // / \param dest Output container for aliases
116
120
virtual void get_may_alias_values (
117
121
locationt l,
118
122
const exprt &expr,
You can’t perform that action at this time.
0 commit comments