Actions
Feature #7297
closedMissed allocation for global pointers
Start date:
06/17/2016
Due date:
% Done:
0%
Estimated time:
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
Updated by Ilja Zakharov almost 8 years ago
- Priority changed from Normal to Urgent
Updated by Evgeny Novikov almost 8 years ago
- Category changed from Tasks generation to Program fragments generation
Updated by Ilja Zakharov almost 8 years ago
- Category changed from Program fragments generation to Environment models
Updated by Ilja Zakharov almost 8 years ago
- 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.
Updated by Evgeny Novikov almost 8 years ago
- Status changed from Resolved to Closed
- Published in build set to a43c34a
Actions