mahaloz / DAILA

A decompiler-agnostic plugin for interacting with AI in your decompiler. GPT-4, Claude, and local models supported!
551 stars 50 forks source link

Scriptable interface & Refactor for BinSync Use #14

Closed mahaloz closed 1 year ago

mahaloz commented 1 year ago

Overview

This PR aims to do a few things:

Planned API example:

from daila import openai_interface
# if this is run in a decompiler, the decompiler will auto-discover the decompiler interface
interface = openai_interface()
rename_json = interface.rename_variables_in_function(func_addr=0xdeadbeef)
mahaloz commented 1 year ago

This PR is related to: https://github.com/binsync/binsync/issues/262