bacam / m0-graph-refine-insertsort

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The insertion sort code is taken from the Mälardalen WCET benchmark suite, but altered to move the inner loop into its own function for compatibility with the SEL4 tools.

The C parsing and graph export code in Insertsort.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 insertion sort example for use with decompilation and graph refinement tools


Languages

Language:C 53.4%Language:Python 25.8%Language:Shell 12.0%Language:Isabelle 8.8%