Skip to content

Discussion : structural invariants on goto-programs #1746

Closed
@martin-cs

Description

@martin-cs

At which points in the system, if any, is it acceptable to have a GOTO instruction whose target is the next instruction? For example:

if CONDITION goto next;
next : ...

I ask because remove_skip recognises (and removes) this case and many of the older abstract domains are written (implicitly) assuming it does not occur. So can/should we always assume that remove_skip has been run after any program transformations / input? Or should I update the domains so they are correct for this kind of program?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions