Bug #6560
closedDetermine incomplete types in the module scope
0%
Description
EMG requires extraction of header file names for each signature type.
Updated by Evgeny Novikov almost 9 years ago
Please, clarify in the topic whether you just expect that SA will extract this information or EMG will use it when generating environment model.
Updated by Ilja Zakharov almost 9 years ago
SA for each signature extracted during source code analysis should set flag (for example) which identify that the type is incomplete in module scope. This should be taken into account by EMG to avoid memory allocation for them. Instead it should initialize them as undefined pointers.
Updated by Ilja Zakharov almost 9 years ago
- Subject changed from Extract signature type headers in SA to Determine incomplete types in the module scope
Updated by Ilja Zakharov almost 9 years ago
- Priority changed from Normal to High
Updated by Evgeny Novikov almost 9 years ago
We decided to temporarily avoid allocation of memory for incomplete types. Later we will need to discover why is this required and how to properly do this.
Updated by Ilja Zakharov over 8 years ago
Current implementation of EMG does not provide size of a type correctly to avoid the problem but memory allocation function still should have such parameter to be used in EMG.
Updated by Ilja Zakharov over 8 years ago
- Status changed from New to Open
- Priority changed from High to Normal
Updated by Ilja Zakharov over 8 years ago
The problem also cause errors like 'dereferencing pointer to incomplete type'.
Updated by Ilja Zakharov over 6 years ago
- Status changed from Open to Closed
There is no any problems with scope now, so the issue can be closed now as useless.