DbgGPT
1.0.0

DBGGPT는 오픈 소스 X64DBG 플러그인입니다.
x64dbg 용 플러그인을 코딩하고 싶었습니다. 나는 그것이 단순하기를 원했다. 나는 Chatgpt와 결합했다. 그것은 목적이 많지 않지만 Snowman 플러그인과 결합하면 좋을 것이다. 게 페토처럼.
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 }};