summaryrefslogtreecommitdiff
path: root/python
AgeCommit message (Collapse)Author
2018-11-06Forgot the return False at the endJosh Watson
2018-11-06Added __eq__ to MediumLevelILOperationAndSize as wellJosh Watson
2018-11-06Add type check to `Variable.__eq__`Josh Watson
`Variable.__eq__` fails to check if the other value is actually a Variable object before comparing member properties. This fixes the exception that gets raised when comparing a Variable against something else.
2018-11-05Provide fall-through indication in BasicBlockEdge info.Brian Potchik
2018-10-31Merge pull request #1188 from shane-runsafe/assemble_fixesJordan
Return assemble error string as part of the ValueError exception
2018-10-30Type check SSA variables in __eq__Eric Hennenfent
Instantly bail if we try to compare a SSAVariable to something that isn't an SSA Variable. Prevents the following issue: ``` >>> bv.get_functions_at(here)[0].medium_level_il.ssa_form[96].src[0].src <ssa <var uint64_t rax_2> version 13> >>> type(bv.get_functions_at(here)[0].medium_level_il.ssa_form[96].src[0].src) <class 'binaryninja.mediumlevelil.SSAVariable'> >>> bv.get_functions_at(here)[0].medium_level_il.ssa_form[96].src[0].src == 'rax_2' Traceback (most recent call last): File "<console>", line 1, in <module> File "/Applications/Binary Ninja.app/Contents/MacOS/plugins/../../Resources/python/binaryninja/mediumlevelil.py", line 48, in __eq__ (other.var, other.version) AttributeError: 'str' object has no attribute 'var' ```
2018-10-26open bndb files in binary mode, fixes #1186Jordan Wiens
2018-10-25Return assemble error string as part of the ValueError exception string. ↵Shane Fry
Cleaned up documentation for assemble's return type
2018-10-24Add new APIs for querying data referencesPeter LaFosse
2018-10-22Obtain the BinaryView handle automatically for the Settings set API.Brian Potchik
2018-10-19Add char convenience methodPeter LaFosse
2018-10-19Expose DataRender APIs, allow setting const on types, and allow type comparisonPeter LaFosse
2018-10-18Initial Enhanced Settings System.Brian Potchik
2018-10-15Refactor to how symbols and namespaces workPeter LaFosse
2018-10-13api: more stable PossibleValueSet __repr__ outputRyan Snyder
2018-10-11Fixes #1164, #1166 and #1165Peter LaFosse
2018-10-10Fix get_section_by_name APIPeter LaFosse
2018-10-06Fix misspelled APIPeter LaFosse
2018-10-05Expose SymbolBinding APIPeter LaFosse
2018-10-05Force use of requests on Windows to avoid cert issues on some installsRusty Wagner
2018-10-05Patch FlowGraph lockingnegasora
2018-10-05python3: ensure callbacks live long enoughRyan Snyder
2018-10-05api: remove some lingering xrange uses in python bindingsRyan Snyder
2018-10-05Fix generation of core.BNLogJosh Watson
Most of the BNLog API methods are just variable length arguments of strings. BNLog also includes a `level` parameter, which causes a `TypeError` when `binaryninja.log.log(level, msg)` is called, because it is expecting all parameters to be strings. This PR fixes it so that `BNLog` is correctly generated. Note: I haven't actually tested this to verify `generator` still works, because my Makefile is messed up currently.
2018-09-28Namespace API cleanupPeter LaFosse
2018-09-20Merge branch 'dev' into test_relocationPeter LaFosse
2018-09-20Adding NameSpace tokens and plumbing through some namespce apisPeter LaFosse
2018-09-18python: make BasicBlocks iterate over disassembly lines, not instrsRyan Snyder
In certain situations Architecture implementations can return different lengths in get_instruction_info and get_instruction_text (e.g. pseudo-instructions). Since BasicBlock's __iter__ method returns disassembly lines, we should advance by the length returned by that callback instead of get_instruction_info, which could be different.
2018-09-17api: fix read beyond bounds of basic blockRyan Snyder
2018-09-13Add callee saved registers on calling conventions to specify which registers ↵Rusty Wagner
are assumed to be preserved (used in heuristics to avoid incomplete data flow cloberring these registers)
2018-09-12Merging with devPeter LaFosse
2018-09-10import MainThreadAction from the correct locationgaasedelen
2018-09-10Fix an incorrect field name in FlowGraphLayoutRequest._completeJosh Watson
2018-09-04Add API to create graphs of IL functionsRusty Wagner
2018-08-31Add some docs to flow graph APIRusty Wagner
2018-08-31Merging with devPeter LaFosse
2018-08-30Fix signed constants in Python ILRusty Wagner
2018-08-30Allow negative stack offsets for functions like alloca_probeRusty Wagner
2018-08-28Merge branch 'dev' into test_stack_adjustRusty Wagner
2018-08-23add support for original_filename propertyJordan Wiens
2018-08-21Add return hint MLIL instruction (used in intermediate stages, not emitted ↵Rusty Wagner
in final forms)
2018-08-20api: add methods to get basic block objects from IL instrsRyan Snyder
2018-08-17Fix report collection reference count bug and add debug report supportRusty Wagner
2018-08-16Adding EXTERN_PTR typePeter LaFosse
2018-08-16Fix Python3 Multiline Input In Script ConsoleKyle Martin
2018-08-14Modify flow graph API to support multiple layout requests for a single graphRusty Wagner
2018-08-14Adding LLIL_RELOC_PTRPeter LaFosse
2018-08-10Return the boolean value from bv.navigate in the Python API.Brian Potchik
2018-08-10Expose BNIsUIEnabled via Python.Brian Potchik
2018-08-02Add API to query if an assembly instruction is a callRusty Wagner