Datasets:
Add dataset card
Browse files
README.md
CHANGED
|
@@ -1,117 +1,55 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
-
|
| 5 |
-
|
| 6 |
-
-
|
| 7 |
-
|
| 8 |
-
-
|
| 9 |
-
|
| 10 |
-
-
|
| 11 |
-
|
| 12 |
-
-
|
| 13 |
-
|
| 14 |
-
- name: memory_map
|
| 15 |
-
dtype: string
|
| 16 |
-
- name: global_variables
|
| 17 |
-
dtype: string
|
| 18 |
-
- name: strings_table
|
| 19 |
-
dtype: string
|
| 20 |
-
- name: import_export_table
|
| 21 |
-
dtype: string
|
| 22 |
-
- name: data_types_structures
|
| 23 |
-
dtype: string
|
| 24 |
-
- name: call_graph
|
| 25 |
-
dtype: string
|
| 26 |
-
- name: patched_bytes
|
| 27 |
-
dtype: string
|
| 28 |
-
- name: comments
|
| 29 |
-
dtype: string
|
| 30 |
-
- name: language_id
|
| 31 |
-
dtype: string
|
| 32 |
-
- name: compiler_spec
|
| 33 |
-
dtype: string
|
| 34 |
-
- name: image_base
|
| 35 |
-
dtype: string
|
| 36 |
-
- name: endian
|
| 37 |
-
dtype: string
|
| 38 |
-
- name: executable_format
|
| 39 |
-
dtype: string
|
| 40 |
-
- name: md5
|
| 41 |
-
dtype: string
|
| 42 |
-
- name: original_function_name
|
| 43 |
-
dtype: string
|
| 44 |
-
- name: stripped_function_name
|
| 45 |
-
dtype: string
|
| 46 |
-
- name: function_signature
|
| 47 |
-
dtype: string
|
| 48 |
-
- name: calling_convention
|
| 49 |
-
dtype: string
|
| 50 |
-
- name: return_type
|
| 51 |
-
dtype: string
|
| 52 |
-
- name: parameters
|
| 53 |
-
dtype: string
|
| 54 |
-
- name: is_thunk
|
| 55 |
-
dtype: bool
|
| 56 |
-
- name: is_external
|
| 57 |
-
dtype: bool
|
| 58 |
-
- name: function_size
|
| 59 |
-
dtype: int64
|
| 60 |
-
- name: local_var_count
|
| 61 |
-
dtype: int64
|
| 62 |
-
- name: original_code
|
| 63 |
-
dtype: string
|
| 64 |
-
- name: decompiled_code
|
| 65 |
-
dtype: string
|
| 66 |
-
- name: assembly
|
| 67 |
-
dtype: string
|
| 68 |
-
- name: decompiled_assembly
|
| 69 |
-
dtype: string
|
| 70 |
-
- name: raw_pcode_listing
|
| 71 |
-
dtype: string
|
| 72 |
-
- name: renamed_masked_code
|
| 73 |
-
dtype: string
|
| 74 |
-
- name: stripped_decompiled_code
|
| 75 |
-
dtype: string
|
| 76 |
-
- name: stripped_assembly
|
| 77 |
-
dtype: string
|
| 78 |
-
- name: stripped_raw_pcode
|
| 79 |
-
dtype: string
|
| 80 |
-
- name: stripped_renamed_masked
|
| 81 |
-
dtype: string
|
| 82 |
-
- name: s_expression_original
|
| 83 |
-
dtype: string
|
| 84 |
-
- name: s_expression_stripped
|
| 85 |
-
dtype: string
|
| 86 |
-
- name: control_flow_graph
|
| 87 |
-
dtype: string
|
| 88 |
-
- name: dataflow_graph
|
| 89 |
-
dtype: string
|
| 90 |
-
- name: pcode_edges
|
| 91 |
-
dtype: string
|
| 92 |
-
- name: pcode_graph
|
| 93 |
-
dtype: string
|
| 94 |
-
- name: graph_columns
|
| 95 |
-
dtype: string
|
| 96 |
-
- name: xrefs
|
| 97 |
-
dtype: string
|
| 98 |
-
- name: comments_annotations
|
| 99 |
-
dtype: string
|
| 100 |
-
- name: instruction_metadata
|
| 101 |
-
dtype: string
|
| 102 |
-
- name: decompiler_warnings
|
| 103 |
-
dtype: string
|
| 104 |
-
- name: call_graph_local
|
| 105 |
-
dtype: string
|
| 106 |
-
splits:
|
| 107 |
-
- name: train
|
| 108 |
-
num_bytes: 137890985903
|
| 109 |
-
num_examples: 154921
|
| 110 |
-
download_size: 3358430293
|
| 111 |
-
dataset_size: 137890985903
|
| 112 |
-
configs:
|
| 113 |
-
- config_name: default
|
| 114 |
-
data_files:
|
| 115 |
-
- split: train
|
| 116 |
-
path: data/train-*
|
| 117 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
+
|
| 16 |
+
# REBench — mips / O2
|
| 17 |
+
|
| 18 |
+
Binary analysis dataset extracted with Ghidra 11.x from the REBench benchmark suite.
|
| 19 |
+
|
| 20 |
+
## Features per row (one row = one function)
|
| 21 |
+
|
| 22 |
+
| Column | Description |
|
| 23 |
+
|--------|-------------|
|
| 24 |
+
| `arch` / `opt_level` | Architecture & optimization flag |
|
| 25 |
+
| `package` / `binary_name` | Source package and executable |
|
| 26 |
+
| `original_function_name` | Real symbol name (from unstripped binary) |
|
| 27 |
+
| `stripped_function_name` | Generic name used in stripped binary |
|
| 28 |
+
| `original_code` | Decompiled C with original names |
|
| 29 |
+
| `decompiled_code` | Decompiled C (original binary) |
|
| 30 |
+
| `assembly` | Raw disassembly |
|
| 31 |
+
| `decompiled_assembly` | Assembly annotated with decompiler variables |
|
| 32 |
+
| `raw_pcode_listing` | Ghidra P-code listing |
|
| 33 |
+
| `renamed_masked_code` | Decompiled C with names replaced by FUN_xxxx |
|
| 34 |
+
| `stripped_decompiled_code` | Decompiled C from stripped binary |
|
| 35 |
+
| `s_expression_original` | S-expression of decompiler AST (original names) |
|
| 36 |
+
| `s_expression_stripped` | S-expression of decompiler AST (masked names) |
|
| 37 |
+
| `control_flow_graph` | CFG JSON (nodes + edges) |
|
| 38 |
+
| `dataflow_graph` | Data-flow edges JSON |
|
| 39 |
+
| `pcode_edges` | High-level P-code edge list |
|
| 40 |
+
| `pcode_graph` | High-level P-code graph JSON |
|
| 41 |
+
| `graph_columns` | Per-basic-block P-code columns |
|
| 42 |
+
| `global_variables` | Program-level global/static variables |
|
| 43 |
+
| `function_signature` | Full C function signature |
|
| 44 |
+
| `strings_table` | All strings in the binary |
|
| 45 |
+
| `xrefs` | Cross-references to/from the function |
|
| 46 |
+
| `comments_annotations` | Ghidra comments and annotations |
|
| 47 |
+
| `data_types_structures` | Struct / enum / union definitions |
|
| 48 |
+
| `memory_map` | Binary memory layout |
|
| 49 |
+
| `raw_pcode_listing` | Raw P-code for each instruction |
|
| 50 |
+
| `call_graph` | Program-wide call graph |
|
| 51 |
+
| `import_export_table` | Imported and exported symbols |
|
| 52 |
+
| `patched_bytes` | Relocation entries |
|
| 53 |
+
| `decompiler_warnings` | Decompiler error/warning messages |
|
| 54 |
+
| `instruction_metadata` | Per-instruction bytes, flow type, length |
|
| 55 |
+
| `call_graph_local` | Callers and callees of this function |
|