Skip to main content
zenodoopen

Replication package for "An Empirical Evaluation of Static, Dynamic, and Hybrid Slicing of WebAssembly Binaries"

<p>This is the replication package that accompanies the paper "An Empirical Evaluation of Static, Dynamic, and Hybrid Slicing of WebAssembly Binaries".</p> <p>It is structured as follows.</p> <p>&nbsp; - RQs.py is the script that generates the data that is included in the paper. For each research question, it generates statistics and plots.<br>&nbsp; - The .csv files and nok.txt are used by RQs.py. &nbsp;They contain the raw size and timing data for each slice. The headers of the .csv files indicate what each column represents.<br>&nbsp; - `sqlite-slices.csv` contains the raw data for RQ8, which is contained in the paper<br>&nbsp; - The .tar.gz files contain the source and the slices generated by each slicer, namely:<br>&nbsp; &nbsp; - `static_slices.tar.gz` contains the slices generated by CsE, the static slicer. For example, the file `static_slices/adpcm/adpcm_ah1_254_expr/static_adpcm.wat.slice` is the slice of the adpcm program taken with respect to the variable `ah1` at line `254` of the original `.c` program.<br>&nbsp; &nbsp; - `slice.tar.gz` contains slices from the dynamic slicers:<br>&nbsp; &nbsp; &nbsp; &nbsp; - slice-sce &nbsp;- the SCE slices<br>&nbsp; &nbsp; &nbsp; &nbsp; - slice-ces &nbsp;- the CES slices<br>&nbsp; &nbsp; &nbsp; &nbsp; - slice-cse &nbsp;- the CSE slices<br>&nbsp; &nbsp; &nbsp; &nbsp; - slice-sces - the SCES slices<br>&nbsp; &nbsp; &nbsp; &nbsp; - slice-cses - the CsES slices<br>&nbsp; &nbsp; - `src.tar.gz` includes the unsliced `C` and `wasm` source<br>&nbsp; &nbsp; - `bc.support.tar.gz` includes the complete `bc` source code &nbsp;<br>&nbsp; &nbsp; - `sqlite.tar.gz` contains the slices of RQ8, each in a directory named after the slicer used. For example, the file `sqlite/CES/avg.wat` contains the CES slice for the `avg` slicing criterion.<br>&nbsp;&nbsp;<br>In order to regenerate the data and plots that are in the paper, you should simply run:</p> <p>```<br>python RQs.py<br>```</p>

ShareScore

36/100

Overall dataset sharing score

Score breakdown

These five areas show where the dataset supports — or may limit — practical reuse.

Stewardship
8
Harmonization
4
Access
16
Reuse readiness
8
Engagement
0