cil icon indicating copy to clipboard operation
cil copied to clipboard

Add support for parsing `asm goto`

Open bottbenj opened this issue 2 years ago • 2 comments

Implements parsing of asm goto statements for #81 and tracking if a asm statement is basic or advanced as required for my thesis.

This change requires https://github.com/bottbenj/analyzer/commit/e3af268163594212468a490abf9318c10ee9a803 in analyzer.

This currently doesn't handle the controlflow resulting from an asm goto but should be sufficient for parsing projects that happen to contain such statements.

bottbenj avatar May 01 '22 20:05 bottbenj

Once we get the remaining open issues addressed, I think it make sense to merge this, even if Goblint will trail behind for a bit, i.e., while the better handling of asm is not yet merged into Goblint.

michael-schwarz avatar May 17 '22 13:05 michael-schwarz

Once we get the remaining open issues addressed, I think it make sense to merge this, even if Goblint will trail behind for a bit, i.e., while the better handling of asm is not yet merged into Goblint.

I wouldn't rush this so much, but would wait until we have some Goblint PR ready to handle the change to option for the Asm instruction at least, not necessarily full support for asm goto handling. Otherwise we block ourselves from making any independent changes to CIL, because any of those would also have to duplicate the adaptation of Goblint to that option.

sim642 avatar May 18 '22 07:05 sim642

Closing in favor of PR to be created by students from the Goblint practical which will address this issue in a principled way.

michael-schwarz avatar Dec 29 '23 09:12 michael-schwarz