1. Long is not supported in python3 so using `numbers.Integral` instead. 2. added `tuple` to the list case 3. `strings` are restored as `bytes`. Changed to restore string as string and bytes as bytes. in python2 both functions restore as str. 4. Added type to the ValueError exception to display the type that is not supported. 2019-02-01python: make arch hooks transparentRyan Snyder Fixes #1150 Fixes #1065 2019-01-30Don't require a source function for LLIL functionsRusty Wagner 2019-01-30Fix rebase removing changesRusty Wagner 2019-01-30Prepare API for Python UI bindingsRusty Wagner 2019-01-30Fix documentation for Type.constPeter LaFosse 2019-01-29Add short alises for low_level_il (llil) and medium_level_il (mlil)Peter LaFosse 2019-01-29Add cancelScript api for scriptingProviderPeter LaFosse 2019-01-25Add CopyValue to Settings APi.Brian Potchik 2019-01-22fixes #1253 for get_instruction_textJordan Wiens 2019-01-22fixes #1253 by handling bytes and strings for find_next_dataJordan Wiens 2019-01-20Don't use xrange for relocation APIsPeter LaFosse 2019-01-17update company name and copyright dateJordan Wiens 2019-01-03lots of spelling / typo fixesJordan Wiens 2019-01-03- add progress_func optional keyword argument to get_view_of_fileverylazyguy 2019-01-03- fix a bunch of typos in documentationverylazyguy 2018-12-22Python2/3 supportKyleMiles 2018-12-22Added TransformParameter.repr (#1223)Josh Watson 2018-12-22Fix metadata (#1224)Josh Watson * Make metadata a little saner for python3 * Fixed adding a raw string on python3 * Fix a missing parenthesis * Ensure a raw string is converted to bytes when creating a new Metadata 2018-12-14fixes for get_instruction_lines and code cleanupPeter LaFosse 2018-12-13Commonize all InstructionTextToken generationPeter LaFosse 2018-12-12better error handling for bv.readJordan Wiens 2018-12-12deprecate current_function.medium_level_il in favor of .mlil and move ↵Jordan Wiens .instructions to mlil instead of main function -- likewise for llil 2018-12-12small typoJordan Wiens 2018-11-26convert core_serial, version, build_id ando thers to methodsJordan Wiens 2018-11-26Convert core globals to functions.Brian Potchik 2018-11-26Update documentation for show_markdown_report and show_html_reportPeter LaFosse 2018-11-26Fix version switcher on Python 3Rusty Wagner 2018-11-21Fix typo.Brian Potchik 2018-11-21Fix imports in functionrecognizer.pyJosh Watson 2018-11-21Fixed export_svg.py to work with FlowGraphs and fixed several issues due to ↵Josh Watson Python3 2018-11-19Update analysis_info documentation.Brian Potchik 2018-11-13Add expression parsing APIsPeter LaFosse Add text-based and constant-based searching 2018-11-06byte string to fix python 3 loading bndbJordan Wiens 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