Exetools  

Go Back   Exetools > General > Community Tools

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-17-2025, 22:10
dotdll dotdll is offline
Guest
 
Join Date: Jul 2025
Location: South Africa
Posts: 2
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 3
Thanks Rcvd at 4 Times in 1 Post
dotdll Reputation: 0
dnSpyEx + LLM Plugin for Deobfuscation & Code Analysis

Attempting to build a plugin for dnSpyEx that integrates a local LLM (like Meta’s LLaMA via Ollama or llama.cpp) to perform:
Automated deobfuscation of .NET assemblies
AI-powered code analysis and summarisation
Context-based rename suggestions
IL tracing and patch generation

The plugin would send selected decompiled or IL code to the LLM and stream back suggestions or explanations. My goal is to add a toolbar option to "Analyse with LLM"

Using

Ollama or LLamaSharp to run the model locally (e.g., LLaMA 3 or Mistral in GGUF format)

dnSpyEx extension API to hook context menus, analyse code, and apply changes

Cloud fallback via OpenAI GPT-4o API for richer context or weaker machines

Use cases include:

Refactoring obfuscated code

Explaining complex IL or control flow

Suggesting patches to bypass license checks or inject logic

Auto-generating meaningful symbol names based on context

The goal is a seamless, AI-assisted RE workflow—no uploading code to the cloud required.
Reply With Quote
The Following 4 Users Say Thank You to dotdll For This Useful Post:
Apuromafo (07-18-2025), Doit (09-09-2025), Nooboy (09-30-2025), zionoobie (07-28-2025)
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vba2Graph - Generate call graphs from VBA code for easier analysis TechLord Source Code 0 08-31-2018 15:37


All times are GMT +8. The time now is 06:45.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )