bacam / m0-graph-refine-crc

Cortex-M0 CRC example for use with decompilation and graph refinement tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The CRC code is taken from the Mälardalen WCET benchmark suite, but altered to remove undefined behaviour, use int instead of short (which is not fully supported) and move static arrays out to global variables.

The C parsing and graph export code in CRC.thy is based on the examples in the graph-refine repository and the SEL4 code. The target.py driver is based on the graph-refine ones, but has a little extra code added to ignore the cycle counter variable in loops.

About

Cortex-M0 CRC example for use with decompilation and graph refinement tools


Languages

Language:C 54.7%Language:Python 21.1%Language:Isabelle 14.5%Language:Shell 9.8%