fbnhnsl commited on
Commit
7b7e3a8
·
verified ·
1 Parent(s): 7189509

Upload fim_solidity_dataset.json

Browse files

This dataset consists of certain Solidity constructs, namely functions, mappings, structs, modifiers, errors, enums, events, imports, constructors, SPDX-License-Identifiers, using statements and contract definitions with imports and pragmas. The entries in the JSON-file are file_name, size_bytes, code, fim_transformed, and secure. The entry fim_transformed (fill-in-the-middle transformed) is 0 for non-fim transformed examples and 1 for fim transformed examples. The entry secure is 0 for vulnerable examples, 1 for secure examples and 2 for examples for which no special security token is specified.

If you wish to use this dataset, you can cite it as follows:


@misc
{hensel2025fim_dataset,
title = {FIM transformed and Slither audited Solidity constructs},
author={Fabian Hensel},
year={2025}
}

Files changed (2) hide show
  1. .gitattributes +1 -0
  2. fim_solidity_dataset.json +3 -0
.gitattributes CHANGED
@@ -57,3 +57,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
60
+ fim_solidity_dataset.json filter=lfs diff=lfs merge=lfs -text
fim_solidity_dataset.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7871110003dbf03ea51bcb3c1cf893a80b08e488b3f3cfd406e072cd56901343
3
+ size 11118404