CBMC
allocate_objects.cpp File Reference
+ Include dependency graph for allocate_objects.cpp:

Go to the source code of this file.

Functions

code_frontend_assignt make_allocate_code (const symbol_exprt &lhs, const exprt &size)
 Create code allocating an object of size size and assigning it to lhs More...
 

Function Documentation

◆ make_allocate_code()

code_frontend_assignt make_allocate_code ( const symbol_exprt lhs,
const exprt size 
)

Create code allocating an object of size size and assigning it to lhs

Parameters
lhspointer which will be allocated
sizesize of the object
Returns
code allocating the object and assigning it to lhs

Definition at line 261 of file allocate_objects.cpp.