summaryrefslogtreecommitdiff
path: root/python/function.py
AgeCommit message (Collapse)Author
2021-09-05type hints for highlevelil.py, mediumlevelil.py and lowlevelil.py, workflow.pyPeter LaFosse
Fix linter error in scriptingprovider.py Update workflow.py using updated paradigms and type hints
2021-09-05Refactor ILs for greater speed and utilityPeter LaFosse
2021-09-05Don't inherit from object anymorePeter LaFosse
2021-09-05Refactor RegisterValue class into multiple dataclasses which can be ↵Peter LaFosse
instantiated directly
2021-09-05Refactor Variable classPeter LaFosse
The Variable class is now broken into 3 separate classes with helper methods to convert between them. CoreVariable is implemented as a frozen dataclass and is analogous to BNVariable VariableNameAndType is analogous to BNVariableNameAndType Bothe the above are passive objects and can not be changed directly The new and improved Variable object is now an active object which can be operated on directly and changes will take effect immediately
2021-09-05Add type hints to basicblock.py, lowlevelil.py, architecture.pyPeter LaFosse
2021-08-13Workflows early preview.Brian Potchik
2021-07-26Python API : Fix copyright year, add .vars to IL functions, remove ↵KyleMiles
BNGetFunctionILVariables, prevent variables without types (from Mapped MLIL) from erroring out in function.Variable's __repr__, added BNGetLowLevel-Registers, RegisterStacks, Flags, MemoryVersions, and their respective SSA versions, added `LowLevelILFunction`- `.vars`, `.ssa_vars`, `.registers`, `.register_stacks`, `.flags`, `.memory_versions` and ssa versions.
2021-07-09Cleanup tags and comments in many placesGlenn Smith
Fixes #1926 #2374 #2325 #2204 #1652 and possibly others
2021-06-12Function: Added `BNGetFunctionILVariables()` / `get_il_vars()` methodJon Palmisciano
2021-05-26Add the ability to automatically create struct membersXusheng
2021-05-12adding list of current debug reports to request_debug_report documentationJordan Wiens
2021-05-03Settable function parameters by indexKyleMiles
Resolves #1873
2021-04-22add persistent search resultXusheng
2021-04-07adding passive decorator and annotate Variable classJordan Wiens
2021-04-06Fix docstring confusing some syntax highlightersKevin Orr
This is technically correct (and for illustration): ```py >>> "asdf""" 'asdf' >>> "asdf""qwer" 'asdfqwer' >>> def foo(): ... "asdf""" ... return 4 ... >>> foo() 4 >>> foo.__doc__ 'asdf' ``` But as it currently exists, it messes up some (admittedly, incorrect) lexers/syntax highlighters (e.g. emacs's python-mode).
2021-04-06Revert Variable.name setter as it breaks some usage of Variable objectsPeter LaFosse
2021-03-26updating to latest sphinx-rtd theme and many doc formatting fixesJordan Wiens
2021-03-19Minor spelling fixesPeter LaFosse
2021-02-18fix syntax error in pydoc warningsJordan Wiens
2021-02-17add support for type xref and variable xrefXusheng
2021-02-12Add unresolved control-flow tracking and associated tag support.Brian Potchik
2021-02-10small addition to setter for analysis_skippedJordan Wiens
2021-01-27Fix InstructionTextToken API passthroughPeter LaFosse
2021-01-20Add get_lifted_ils_at API.Brian Potchik
2021-01-18updating copyright yearJordan Wiens
2021-01-18expose Function::IsVariableUserDefinded()Xusheng
2020-12-23Add GetLowLevelILInstructionsForAddress API to retrieve all LLIL for an address.Brian Potchik
2020-12-18Add API/UI to control dead store elimination of specific variablesRusty Wagner
2020-12-07initial support for contains operator on possible value setsJordan Wiens
2020-12-05Clean up a couple places where CoreArchitectures are created without ↵Glenn Smith
checking cache
2020-10-27automatically coerce Variable.source_type to enumerationPeter LaFosse
2020-10-27Improve performance when creating Variable's.Tim Bryant
2020-10-24PossibleValueSet dialog pulls existing values and miscellaneous cleanup.Brian Potchik
2020-10-09Return tag in all casesRyan Stortz
2020-10-08Remove name setter for Variable object. Variable objects are always copiesPeter LaFosse
2020-09-16fixup broken warning syntaxJordan Wiens
2020-09-10Fix Windows file deletion issue in testsChinmay
2020-09-10Update API name for ParsePossibleValueSetChinmay
2020-09-10Adds tests related to UIDFChinmay
2020-08-26Better docs on variable.name = NoneGlenn Smith
2020-08-26Don't trigger reanalysis in variable name updatesGlenn Smith
Plugins should trigger the analysis themselves and update their variable objects after
2020-08-26More efficient analysis updateGlenn Smith
2020-08-26Reload default variable name when unset; don't clobber user type.Kevin Burk
2020-08-26Persistent setter for variable names.Kevin Burk
2020-08-17Incorporates review commentsChinmay
2020-08-17Adds documentation for UIDFChinmay
2020-08-13Update function names and change up APIChinmay
2020-08-13Changes to implement User-informed dataflowChinmay
2020-07-30initial implementationXusheng