summaryrefslogtreecommitdiff
path: root/python/function.py
AgeCommit message (Collapse)Author
2022-01-06Add Function::HasUserAnnotationsPeter LaFosse
2022-01-03update copyright yearsJordan Wiens
2021-11-29Fix type hint in TagList.__init__Peter LaFosse
2021-11-29Fix type hints for BasicBlockListPeter LaFosse
2021-11-05Turn some apis back into Lists for ease of use, improve __repr__ for list ↵Peter LaFosse
and mapping containers
2021-10-20Update Function.function_type to use types.FunctionType instead of types.TypeJosh F
2021-10-19More accurate description of operand argumentGlenn Smith
2021-10-19Docs for get/set integer display typeGlenn Smith
2021-10-11Revert 'mlils' back to list instead of GeneratorPeter LaFosse
2021-09-30Remove unsafe BNDeleteAutoVariablePeter LaFosse
2021-09-30Allow string representation of types to be passed as parameters to methods ↵Peter LaFosse
which require Type objects
2021-09-28Add Refactor Symbol to CoreSymbol and SymbolPeter LaFosse
2021-09-28Add BasicBlockList class for improved iteration speed of basic blocksPeter LaFosse
2021-09-22Add __contains__ for Function, Section, Segment, BasicBlock and BinaryViewPeter LaFosse
Addresses issue binaryninja-api#1113
2021-09-18Make some additional dataclasses frozenPeter LaFosse
2021-09-14Fix for issue #2634: adds missing assignment to ↵galenbwill
`DisassemblyTextLine.highlight` attribute when `isinstance(color, _highlight.HighlightColor)` is true
2021-09-08moving InstructionTextToken back to architecture module and aliasing from ↵Jordan Wiens
function for better backward compatibility
2021-09-07Improve backward compatibility of Tags APIsPeter LaFosse
2021-09-06Fix some unnecessary checks for handle is not None in destructorsPeter LaFosse
2021-09-06Commonize _to_core_struct/_from_core_structPeter LaFosse
Improve implementation of immutable_copy/mutable_copy
2021-09-06make dataclasses in function.pyPeter LaFosse
2021-09-06Add some additional typehints to architecture.py, function.py and ↵Peter LaFosse
metadata.py, callingconvention.py, binaryview.py, highlevelil.py, scriptingprovider.py, types.py Fix typehint for Union[QualifiedName, str]
2021-09-06Improve backward compatibility of python/function.pyPeter LaFosse
2021-09-06Fix typecheck error in function.pyPeter LaFosse
2021-09-06Use more f-stringsPeter LaFosse
2021-09-06Additional typehints for mediumlevelil.py, binaryview.py and function.pyPeter LaFosse
2021-09-05Refactor Python TypesPeter LaFosse
Remove _mutable types
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