Skip to main content
The DecompiledFunction object represents the result of decompiling a function from the binary. It provides methods for printing the decompiled code and running syntax (Weggli-compatible) queries on the decompiled code.

Methods

QueryTable

Reference

query

Queries the decompiled code using either a string or a QueryTable.
  • If a string is provided, it is interpreted as a syntax query.
  • If a QueryTable is provided, it must contain the fields described in the QueryTable above. The engine field is optional; omitting it defaults to the syntax engine.
Only the syntax engine is currently supported; specifying any other value results in a runtime error. Returns a SyntaxMatchResult object containing the query results.

Example