DbgGPT
1.0.0

DBGGPT是開源X64DBG插件。
我想為X64DBG編碼一個插件。我希望它很簡單。我將其與chatgpt結合在一起。它沒有太大的目的,但是如果您將其與雪人插件結合使用,那就太好了。像Gepetto。
cmake -B build64 -A x64
cmake --build build64 --config Release
您需要在項目中註意一些事情。如果所選區域很大,則Chatgpt不會響應,為此,您需要增加MAX_TOKENS 。
const auto OPENAI_KEY = " OPENAI_API_KEY " ; // https://platform.openai.com/account/api-keys
const json openaiRequest = {
{ " model " , " gpt-3.5-turbo " },
{ " messages " , json::array ({{{ " role " , " user " },
{ " content " , openaiRequestContent}}})},
{ " max_tokens " , 300 }, // If the selected area is large, ChatGPT will not respond, for this you need to increase the MAX_TOKENS value.
{ " temperature " , 0 }};