ivision-research / binjawa Goto Github PK
View Code? Open in Web Editor NEWA Binary Ninja plugin for WebAssembly.
License: MIT License
A Binary Ninja plugin for WebAssembly.
License: MIT License
First, thanks for making the plugin! This would be a great addition to binja.
Attempting to load a wasm file results in the stack trace below:
Traceback (most recent call last):
File "/Applications/Binary Ninja.app/Contents/MacOS/plugins/../../Resources/python/binaryninja/binaryview.py", line 2164, in _init
return self.init()
File "/Users/ryan/Library/Application Support/Binary Ninja/plugins/binjawa/binaryview.py", line 34, in init
wasm_module = from_bytes(wasm_bytes)
File "/usr/local/Cellar/[email protected]/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/wasamole/io/__init__.py", line 9, in from_bytes
return BinaryReader.from_bytes(the_bytes).read()
File "/usr/local/Cellar/[email protected]/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/wasamole/io/reader/binary_format.py", line 56, in read
self._read_section()
File "/usr/local/Cellar/[email protected]/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/wasamole/io/reader/binary_format.py", line 83, in _read_section
type_read_map[section_type](section_size)
File "/usr/local/Cellar/[email protected]/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/wasamole/io/reader/binary_format.py", line 96, in _read_custom
self.module.functions[name_i].set_name(function_name)
IndexError: list index out of range
BinaryView of type 'WASM' failed to initialize!
I can't seem to upload the file itself to the Github issue, but if you give me an email I can send it your way.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.