Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,44 +1,17 @@
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
-
- en
|
| 4 |
license: mit
|
| 5 |
task_categories:
|
| 6 |
-
- text-generation
|
| 7 |
tags:
|
| 8 |
-
- assembly
|
| 9 |
-
- security
|
| 10 |
-
- compiler-bugs
|
| 11 |
-
- CISB
|
| 12 |
-
- program-repair
|
| 13 |
size_categories:
|
| 14 |
-
- n<1K
|
| 15 |
-
configs:
|
| 16 |
-
- config_name: default
|
| 17 |
-
data_files:
|
| 18 |
-
- split: test
|
| 19 |
-
path: data/test-*
|
| 20 |
-
dataset_info:
|
| 21 |
-
features:
|
| 22 |
-
- name: task_name
|
| 23 |
-
dtype: string
|
| 24 |
-
- name: source_code
|
| 25 |
-
dtype: string
|
| 26 |
-
- name: x86_64
|
| 27 |
-
dtype: string
|
| 28 |
-
- name: aarch64_linux
|
| 29 |
-
dtype: string
|
| 30 |
-
- name: riscv
|
| 31 |
-
dtype: string
|
| 32 |
-
- name: run_output
|
| 33 |
-
dtype: string
|
| 34 |
-
- name: test_c
|
| 35 |
-
dtype: string
|
| 36 |
-
splits:
|
| 37 |
-
- name: test
|
| 38 |
-
num_bytes: 288951
|
| 39 |
-
num_examples: 36
|
| 40 |
-
download_size: 80468
|
| 41 |
-
dataset_size: 288951
|
| 42 |
---
|
| 43 |
|
| 44 |
# CISB-O2: Compiler-Introduced Security Bugs at -O2
|
|
@@ -65,6 +38,7 @@ corrected assembly that restores the security property without changing other be
|
|
| 65 |
| `aarch64_linux` | AArch64 assembly at -O2 |
|
| 66 |
| `riscv` | RISC-V RV64 (`rv64gc`/`lp64d`) assembly at -O2 |
|
| 67 |
| `run_output` | Combined stdout+stderr of the verifier harness (`test.c`) run against the x86-64 build |
|
|
|
|
| 68 |
|
| 69 |
## Statistics
|
| 70 |
|
|
@@ -93,6 +67,7 @@ ds = load_dataset("Akirayasha/cisb-O2", split="test")
|
|
| 93 |
record = ds[0]
|
| 94 |
unsafe_asm = record["x86_64"] # assembly to repair
|
| 95 |
failure = record["run_output"] # why the verifier says it is unsafe
|
|
|
|
| 96 |
```
|
| 97 |
|
| 98 |
## Citation
|
|
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
+
- en
|
| 4 |
license: mit
|
| 5 |
task_categories:
|
| 6 |
+
- text-generation
|
| 7 |
tags:
|
| 8 |
+
- assembly
|
| 9 |
+
- security
|
| 10 |
+
- compiler-bugs
|
| 11 |
+
- CISB
|
| 12 |
+
- program-repair
|
| 13 |
size_categories:
|
| 14 |
+
- n<1K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
# CISB-O2: Compiler-Introduced Security Bugs at -O2
|
|
|
|
| 38 |
| `aarch64_linux` | AArch64 assembly at -O2 |
|
| 39 |
| `riscv` | RISC-V RV64 (`rv64gc`/`lp64d`) assembly at -O2 |
|
| 40 |
| `run_output` | Combined stdout+stderr of the verifier harness (`test.c`) run against the x86-64 build |
|
| 41 |
+
| `test_c` | C source of the verifier harness (`test.c`) -- links against the assembly under test and reports its verdict via exit code |
|
| 42 |
|
| 43 |
## Statistics
|
| 44 |
|
|
|
|
| 67 |
record = ds[0]
|
| 68 |
unsafe_asm = record["x86_64"] # assembly to repair
|
| 69 |
failure = record["run_output"] # why the verifier says it is unsafe
|
| 70 |
+
harness = record["test_c"] # verifier source, to rebuild/rerun it against a candidate
|
| 71 |
```
|
| 72 |
|
| 73 |
## Citation
|