Update dataset card
Browse files
README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
-
pretty_name:
|
| 4 |
language:
|
| 5 |
- code
|
| 6 |
task_categories:
|
|
@@ -38,9 +38,9 @@ configs:
|
|
| 38 |
path: test_real-*.parquet
|
| 39 |
---
|
| 40 |
|
| 41 |
-
#
|
| 42 |
|
| 43 |
-
|
| 44 |
[ExeBench](https://huggingface.co/datasets/jordiae/exebench), a dataset of
|
| 45 |
executable C functions used to train and evaluate neural decompilers. Auditing
|
| 46 |
all 6.56M functions in ExeBench's ten splits turned up nine data-quality
|
|
@@ -55,13 +55,13 @@ assembly alone:
|
|
| 55 |
- P3, data sections: constants live in `.rodata`, `.data` or `.bss`, and the
|
| 56 |
function's code only refers to them by address.
|
| 57 |
|
| 58 |
-
|
| 59 |
returns, with the same names, types and values, and adds 16: the assembly
|
| 60 |
of a call to the function (`func_call`, P1), wrappers that test a
|
| 61 |
reduced-arity decompilation (`opt_*_exe_wrapper`, P2), data-section contents
|
| 62 |
(`data_section`, P3), disassembly of the linked binary on four architectures
|
| 63 |
at five optimization levels (`objdump_asm`), and five warning flags.
|
| 64 |
-
Problematic records are flagged rather than removed, so
|
| 65 |
drop-in replacement for ExeBench: code written against `jordiae/exebench`
|
| 66 |
runs unchanged, and users choose what to filter.
|
| 67 |
|
|
@@ -81,7 +81,7 @@ runs unchanged, and users choose what to filter.
|
|
| 81 |
| `test_real` | 2,134 |
|
| 82 |
| **Total** | **6,564,549** |
|
| 83 |
|
| 84 |
-
The splits and their rows are ExeBench's own;
|
| 85 |
|
| 86 |
## Loading
|
| 87 |
|
|
@@ -90,13 +90,13 @@ from datasets import load_dataset
|
|
| 90 |
|
| 91 |
# Pass data_files so only that split's shards are downloaded
|
| 92 |
# (split= alone downloads every split before selecting one).
|
| 93 |
-
test = load_dataset("
|
| 94 |
# The training splits are large - stream them rather than downloading:
|
| 95 |
-
train = load_dataset("
|
| 96 |
```
|
| 97 |
|
| 98 |
All columns are typed Arrow columns; no decoding is needed for the
|
| 99 |
-
|
| 100 |
|
| 101 |
```python
|
| 102 |
row = test[0]
|
|
@@ -125,7 +125,7 @@ when it does not apply or could not be produced, and the companion `*_errors`
|
|
| 125 |
field explains why. `func_call` and `func_call_errors` are `null` as a whole
|
| 126 |
when no call site was generated (see `func_call_skip_reason`).
|
| 127 |
|
| 128 |
-
### Added by
|
| 129 |
|
| 130 |
| Field | Type | Description |
|
| 131 |
|---|---|---|
|
|
@@ -172,14 +172,14 @@ fields use synthesized ones. (`opt_angha_exe_wrapper*` keeps the raw ExeBench
|
|
| 172 |
|
| 173 |
## Licensing
|
| 174 |
|
| 175 |
-
|
| 176 |
license of their GitHub repository (identified by `path` and `ref`). The fields
|
| 177 |
-
|
| 178 |
contributions. The code that produces them is released under Apache-2.0.
|
| 179 |
|
| 180 |
## Citation
|
| 181 |
|
| 182 |
-
|
| 183 |
Please also cite ExeBench:
|
| 184 |
|
| 185 |
```bibtex
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
+
pretty_name: ExeBench-FHD
|
| 4 |
language:
|
| 5 |
- code
|
| 6 |
task_categories:
|
|
|
|
| 38 |
path: test_real-*.parquet
|
| 39 |
---
|
| 40 |
|
| 41 |
+
# ExeBench-FHD
|
| 42 |
|
| 43 |
+
ExeBench-FHD is an audited and extended version of
|
| 44 |
[ExeBench](https://huggingface.co/datasets/jordiae/exebench), a dataset of
|
| 45 |
executable C functions used to train and evaluate neural decompilers. Auditing
|
| 46 |
all 6.56M functions in ExeBench's ten splits turned up nine data-quality
|
|
|
|
| 55 |
- P3, data sections: constants live in `.rodata`, `.data` or `.bss`, and the
|
| 56 |
function's code only refers to them by address.
|
| 57 |
|
| 58 |
+
ExeBench-FHD keeps the 16 columns that `load_dataset("jordiae/exebench")`
|
| 59 |
returns, with the same names, types and values, and adds 16: the assembly
|
| 60 |
of a call to the function (`func_call`, P1), wrappers that test a
|
| 61 |
reduced-arity decompilation (`opt_*_exe_wrapper`, P2), data-section contents
|
| 62 |
(`data_section`, P3), disassembly of the linked binary on four architectures
|
| 63 |
at five optimization levels (`objdump_asm`), and five warning flags.
|
| 64 |
+
Problematic records are flagged rather than removed, so ExeBench-FHD works as a
|
| 65 |
drop-in replacement for ExeBench: code written against `jordiae/exebench`
|
| 66 |
runs unchanged, and users choose what to filter.
|
| 67 |
|
|
|
|
| 81 |
| `test_real` | 2,134 |
|
| 82 |
| **Total** | **6,564,549** |
|
| 83 |
|
| 84 |
+
The splits and their rows are ExeBench's own; ExeBench-FHD only adds columns.
|
| 85 |
|
| 86 |
## Loading
|
| 87 |
|
|
|
|
| 90 |
|
| 91 |
# Pass data_files so only that split's shards are downloaded
|
| 92 |
# (split= alone downloads every split before selecting one).
|
| 93 |
+
test = load_dataset("davish007/ExeBench-FHD", data_files="test_real-*.parquet", split="train")
|
| 94 |
# The training splits are large - stream them rather than downloading:
|
| 95 |
+
train = load_dataset("davish007/ExeBench-FHD", split="train_real_compilable", streaming=True)
|
| 96 |
```
|
| 97 |
|
| 98 |
All columns are typed Arrow columns; no decoding is needed for the
|
| 99 |
+
ExeBench-FHD fields:
|
| 100 |
|
| 101 |
```python
|
| 102 |
row = test[0]
|
|
|
|
| 125 |
field explains why. `func_call` and `func_call_errors` are `null` as a whole
|
| 126 |
when no call site was generated (see `func_call_skip_reason`).
|
| 127 |
|
| 128 |
+
### Added by ExeBench-FHD (16)
|
| 129 |
|
| 130 |
| Field | Type | Description |
|
| 131 |
|---|---|---|
|
|
|
|
| 172 |
|
| 173 |
## Licensing
|
| 174 |
|
| 175 |
+
ExeBench-FHD follows ExeBench's licensing. All C functions keep the original
|
| 176 |
license of their GitHub repository (identified by `path` and `ref`). The fields
|
| 177 |
+
ExeBench-FHD adds are released under the MIT license, as are ExeBench's own
|
| 178 |
contributions. The code that produces them is released under Apache-2.0.
|
| 179 |
|
| 180 |
## Citation
|
| 181 |
|
| 182 |
+
ExeBench-FHD is under anonymous review; its citation will be added here.
|
| 183 |
Please also cite ExeBench:
|
| 184 |
|
| 185 |
```bibtex
|