Project

General

Profile

Actions

Bug #6560

closed

Determine incomplete types in the module scope

Added by Ilja Zakharov almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Environment models
Target version:
-
Start date:
01/28/2016
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

EMG requires extraction of header file names for each signature type.


Related issues 3 (1 open2 closed)

Related to Klever - Bug #7244: EMG declares and operates with variables of types non-visible in the file with an entry pointClosedIlja Zakharov05/24/2016

Actions
Blocks Klever - Bug #6574: Initialize callback parameters by defaultOpenIlja Zakharov01/28/2016

Actions
Blocks Klever - Bug #7043: EMG generates a parameter with incompatible typeClosedIlja Zakharov04/06/2016

Actions
Actions #1

Updated by Ilja Zakharov almost 9 years ago

  • Category set to Environment models
Actions #2

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.

Actions #3

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.

Actions #4

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
Actions #5

Updated by Ilja Zakharov almost 9 years ago

  • Priority changed from Normal to High
Actions #6

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.

Actions #7

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.

Actions #8

Updated by Ilja Zakharov over 8 years ago

  • Status changed from New to Open
  • Priority changed from High to Normal
Actions #9

Updated by Ilja Zakharov over 8 years ago

The problem also cause errors like 'dereferencing pointer to incomplete type'.

Actions #10

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.

Actions

Also available in: Atom PDF