Published May 4, 2024 | Version 1.1
Dataset Open

[artifact] Misconceptions About Loops in C

  • 1. City, University of London

Description

NOTE: PLEASE VERIFY INTEGRITY AFTER DOWNLOAD:

- SHA-256: eb5dab87eb050ddb23b2041e6e2727ad41a01bb2eeca82dccf1f4517e0114cc8

IF HASHES DO NOT MATCH, PLEASE RE-DOWNLOAD AND VERIFY AGAIN.

-----------------------------------------------------------------------------------------

This artifact collects the examples used in the paper and provides them
as a test suite. Each example is a separate program that can be used in a
number of ways. The program’s text is used in the paper. No results are
generated.

Each program takes a single input that controls which path through
the program is taken and gives a single output that records which branches
were taken. This allows them to be used for back-to-back testing with
compilers, interpreters, source-to-source translation, or dynamic analysis
tools. If the input/output relation changes, then transformation is buggy
and unable to handle that kind of loop.

They also have assertions that hold true only for valid paths through
the program, making them ideal for testing with static analysis tools. If
an assertion fails, it indicates a bug in the static analysis tool.
To demonstrate how these can be used, we provide a setup to test
CBMC.

Files

artifact-misconceptions-about-loops-in-c.zip

Files (1.9 GB)

Name Size Download all
md5:48272b6abc5bba96c2fdba67b00a35d5
1.9 GB Preview Download

Additional details

Software

Programming language
C