From 5f1e25df0ff652cf35574dae3e6a3cfb3b163e63 Mon Sep 17 00:00:00 2001 From: Dongkwan Kim <0xdkay@gmail.com> Date: Mon, 28 Feb 2022 13:26:29 +0900 Subject: [PATCH] Fix minor --- README.md | 6 ++++-- config/path_variables.py | 2 +- helper/extract_lineno.py | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a9b83e6..105ee7a 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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 diff --git a/config/path_variables.py b/config/path_variables.py index 2caa389..c5f1bd0 100644 --- a/config/path_variables.py +++ b/config/path_variables.py @@ -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" diff --git a/helper/extract_lineno.py b/helper/extract_lineno.py index bbe4024..00fa57f 100644 --- a/helper/extract_lineno.py +++ b/helper/extract_lineno.py @@ -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