Skip to content

Commit

Permalink
Fix minor
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdkay committed Feb 28, 2022
1 parent 13ea275 commit 5f1e25d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ confirm their equivalence. Based on these criteria we conducted several steps to
build ground truth and clean the datasets. For more details, please check [our
paper](https://arxiv.org/abs/2011.10749).

### 1. Configure path variables for IDA Pro and this repository (`config/path_variables.py`).
### 1. Configure path variables for IDA Pro and this repository.

Configure path variables for your environment at `config/path_variables.py`.


### 2. Run IDA Pro to extract preliminary data for each functions.
Expand All @@ -138,7 +140,7 @@ For IDA Pro v7.5, use `tiknib/ida/fetch_funcdata_v7.5.py`.

```bash
$ python helper/do_idascript.py \
--idapath "/home/dongkwan/.tools/ida-v7.5" \
--idapath "/home/dongkwan/.tools/ida-7.5" \
--idc "tiknib/ida/fetch_funcdata_v7.5.py" \
--input_list "example/input_list_find.txt" \
--log
Expand Down
2 changes: 1 addition & 1 deletion config/path_variables.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
IDA_PATH="/opt/ida/ida-7.6"
IDA_PATH="/home/dongkwan/.tools/ida-7.6"
IDA_FETCH_FUNCDATA="/home/dongkwan/tiknib/tiknib/ida/fetch_funcdata_v7.5.py"

TIKNIB_REPO="/home/dongkwan/tiknib"
Expand Down
2 changes: 1 addition & 1 deletion helper/extract_lineno.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from tiknib.utils import do_multiprocess
from tiknib.utils import load_func_data, store_func_data
from tiknib.utils import parse_source_path
from config.path_variables import *
from config.path_variables import IDA_PATH, IDA_FETCH_FUNCDATA

import logging
import coloredlogs
Expand Down

0 comments on commit 5f1e25d

Please sign in to comment.