:py:mod:`binaryai.function` =========================== .. py:module:: binaryai.function Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: binaryai.function.Function binaryai.function.MatchedFunction .. py:class:: Function(name: str, offset: int, pseudocode: str, embedding: Optional[List[float]] = None) Bases: :py:obj:`object` A function entity that represents a decompiled function. .. py:class:: MatchedFunction(score: float, code: str) Bases: :py:obj:`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.