+/EE379K

programming paradigms

git clone https://git.julia.blue/+/EE379K

Joseph RyanUpdate docs5a7dde3

master
3 folders8 files

files

gradle/wrapper/
src/main/java/cfg/
tests/
.gitignore103 B
FEEDBACK.txt189 B
README.md1.2 KiB
build.gradle695 B
cfg.txt845 B
gradlew5.9 KiB
run.sh37 B
run_all.sh269 B

Instructions

Running run_all.sh will build CFGs for all of my test inputs. I hand inspected them to ensure correctness so there is no automated checker. The easiest way to check if a given CFG is correct is to look at the graph of basic blocks in a graphical form so I've included a command in the script to output .pngs for each one for this purpose. For this to work the system must have the dot utility available (usually found in a graphviz package)

The script run.sh takes a single .class file as an argument and outputs the corresponding CFG in ${filename}.cfg.

Assumptions