cartesi / machine-emulator-tools

Set of tools to help the development
Apache License 2.0
13 stars 19 forks source link

make error codes uniform and improve code coverage of libcmt #51

Closed mpolitzer closed 4 months ago

mpolitzer commented 4 months ago

close #52 close #53 rewrite merkle save/load in terms of read_whole_file and write_whole_file.

after this PR (updated): image

missing lines are mostly malloc and stdlib failure branches.

To reproduce the graph above: Add --coverage to CFLAGS and run:

mkdir -p coverage && gcovr --exclude-unreachable-branches --html-details coverage/index.html