goblint / bench

The benchmark suite
4 stars 5 forks source link

Original benchmarks from ldv-commits-races #23

Open vesalvojdani opened 2 years ago

vesalvojdani commented 2 years ago

Since we can't lift the benchmarks directly (#3), we could try to extract the race commits from the original sources. Here are the relevant commits:

(The following are not publicly available: https://github.com/torvalds/linux/commit/2e4ce49, https://github.com/torvalds/linux/commit/883f30e)

Preparing the include files

Most of the include files remain the same, but some are generated with the commands make defconfig && make prepare, and one has to make some tweaks for this to work with newer versions of gcc:

At the moment, I have been using goblint -v to get the preprocessing command and then ran that with -M to get the list of included files and then copied all those files here. Maybe there is a better way than to just upload them all here. The only files different from the kernel repo are in the generated subdirectories.

sim642 commented 2 years ago

At the moment, I have been using goblint -v to get the preprocessing command and then ran that with -M to get the list of included files and then copied all those files here.

The json-messages output should also contain a list of all the files involved. That might be easier to automate as well if desired.