Skip to content

Goto programs with missing function bodies should not be considered well-formed #1949

Open
@tautschnig

Description

@tautschnig

Once #1889 is merged we should be in a good position to disallow any analysis on goto programs that contain function calls to either completely undeclared functions (should never be allowed) or functions without a body. Input programs of course contain such code with varying assumptions on non-determinism, but an analysis should not make its own private assumptions about this. Instead, user-specified transformations on goto programs should be run before any analysis to produce function bodies. In any analysis, functions having non-empty bodies should be an invariant rather than a conditional check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions