Feature #7297
closed
Missed allocation for global pointers
Added by Anton Vasilyev almost 8 years ago.
Updated almost 8 years ago.
Category:
Environment models
Published in build:
a43c34a
Description
In attached example require to add allocation for global ldv_1_container_struct_hid_driver and ldv_0_container_struct_hid_driver at least by ldv_malloc()
Files
- Priority changed from Normal to Urgent
- Category changed from Tasks generation to Program fragments generation
- Category changed from Program fragments generation to Environment models
- Tracker changed from Bug to Feature
- Status changed from New to Resolved
There are two relevant translation options for EMG can help:
1) "allocate with sizeof" - uses a proper sizeof in ldv_malloc instead of null (works much better after I moved control functions to corresponding files with callbacks).
2) "allocate external" - calls function external_allocated_data on each pointer created by EMG.
Implementation is available in emg-improvements branch.
- Status changed from Resolved to Closed
- Published in build set to a43c34a
Also available in: Atom
PDF