Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
SpencerL-Y committed Jun 28, 2024
1 parent f309375 commit 5aae9bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/goto-symex/builtin_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -486,11 +486,13 @@ void goto_symext::symex_free(const expr2tc &expr)
} else {

// Clear the alloc heapsize.
expr2tc ptr_obj = dereference2tc(get_uint8_type(), code.operand);
// expr2tc ptr_obj = dereference2tc(get_uint8_type(), code.operand);
expr2tc ptr_obj = pointer_object2tc(pointer_type2(), code.operand);
ptr_obj->dump();
dereference(ptr_obj, dereferencet::READ);
log_status("dereferenced ptr_obj to free");
ptr_obj->dump();


}
}
Expand Down

0 comments on commit 5aae9bb

Please sign in to comment.