CUMLSec / trex

MIT License
90 stars 13 forks source link

The error about prepare_code_trace.py #22

Open RobinHan24 opened 2 years ago

RobinHan24 commented 2 years ago

Hi, @peikexin9. I just ran the code 'python micro_trace/prepare_code_trace.py' ,but I met this error "micro_trace/prepare_code_trace.py", line 67, in hex2str assert len(num) <= 8 AssertionError. First I ran the code 'python command/pretrain/prepare_json.py' to generate the data 'data-raw/funcbytes/', the ran the code 'python micro_trace/prepare_code_trace.py' to generate the data 'data-raw/functraces', but the error occured. Could you please help me. Thank you very much.

peikexin9 commented 2 years ago

Sorry @RobinHan24, there might be some incompatibility issues between data preparation scripts as I am still working on this. Feel free to edit the script when you see bugs.