binaryai.function
Module Contents
Classes
A function entity that represents a decompiled function. |
|
Matched function entity by using similarity search. |
- class binaryai.function.Function(name: str, offset: int, pseudocode: str, embedding: List[float] | None = None)[source]
Bases:
object
A function entity that represents a decompiled function.
- class binaryai.function.MatchedFunction(score: float, code: str)[source]
Bases:
object
Matched function entity by using similarity search. Differ from Function class, this class is a matched function result with only score, code and other fields, but no bytes and fileoffset which represents an function in a executable binary. So this is rather not an actual decompiled function.
Note that this class is experiment and maybe changed in the future.