Skip to content

PeiweiHu/DeGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DeGPT

(NDSS 2024) Optimizing Decompiler Output with LLM

Step 1. Install Dependency

Install the following two package manually.

https://github.com/PeiweiHu/cinspector
https://github.com/PeiweiHu/chatmanager

Please also install the following packages by pip.

openai==0.27.6
tiktoken==0.2.0

Step 2. Setup your API key

Set up your api key in degpt/role.py

# ------------------- config here ---------------------

PROMPT_PATH = os.path.join(DIR, 'prompt.json')
CHATGPT_API_KEY = {Input your API key here}
ChatSetup.temperature = 0.2
assert (CHATGPT_API_KEY and "Pleae set api key")
# -----------------------------------------------------

Step 3. Do Optimization

python degpt/role.py -f testcase/fibon out.json

This is a bare version with the core component. More data such as metrics is preparing....

About

(NDSS 2024) Optimizing Decompiler Output with LLM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages