mongodb-labs / disasm Goto Github PK
View Code? Open in Web Editor NEWInteractive Disassembler GUI - This Repository is NOT a supported MongoDB product
License: Apache License 2.0
Interactive Disassembler GUI - This Repository is NOT a supported MongoDB product
License: Apache License 2.0
I build a small program with -g
, and set the config.py to look for the source at ../test
(I also tried the full path). However, disasm insists my source file is under /usr/include
(e.g. it looks for the file /usr/include/test.c
, and reports "Sorry, cannot get source code from this path", unless I really put the source file there).
Any fixes or workarounds?
P.S. The executable is built on Ubuntu 14.04 LTS with included GCC 4.8.4. The command line is simply gcc -g ...
. I also tried CentOS 7, with the same result. disasm itself is run on Ubuntu 14.04 LTS and macOS Sierra.
this looks like a fun tool, but currently the description is " No description or website provided. "?
is there any screenshots?
thanks.
This project looks interesting, and I have managed to make it start working. However, there is no explanation as to how to make ".dwarf_info section be defined" to enable some of the features, nor can I find much information about it via Google (in fact, this project is the top hit when I search).
Would you please clarify? Many thanks.
I installed the current version, but when uploading a 64 bit ELF file (/bin/bash), or any other file, i get the following error:
(disasm) dobin@minime:~/Development/disasm$ python app/app.py
/home/dobin/.virtualenvs/disasm/local/lib/python2.7/site-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.script is deprecated, use flask_script instead.
.format(x=modname), ExtDeprecationWarning
* Running on http://127.0.0.1:8000/ (Press CTRL+C to quit)
* Restarting with stat
...
127.0.0.1 - - [31/Aug/2016 19:42:15] "GET /functions?filename=41999504-6fa2-11e6-9282-a434d9937ce5 HTTP/1.1" 500 -
Traceback (most recent call last):
File "/home/dobin/.virtualenvs/disasm/lib/python2.7/site-packages/flask/app.py", line 2000, in __call__
return self.wsgi_app(environ, start_response)
File "/home/dobin/.virtualenvs/disasm/lib/python2.7/site-packages/flask/app.py", line 1991, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/home/dobin/.virtualenvs/disasm/lib/python2.7/site-packages/flask/app.py", line 1567, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/dobin/.virtualenvs/disasm/lib/python2.7/site-packages/flask/app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()
File "/home/dobin/.virtualenvs/disasm/lib/python2.7/site-packages/flask/app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/dobin/.virtualenvs/disasm/lib/python2.7/site-packages/flask/app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/dobin/.virtualenvs/disasm/lib/python2.7/site-packages/flask/app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()
File "/home/dobin/.virtualenvs/disasm/lib/python2.7/site-packages/flask/app.py", line 1625, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/dobin/Development/disasm/app/app.py", line 237, in functions
load_functions(filename)
File "/home/dobin/Development/disasm/app/app.py", line 216, in load_functions
functions = executables.get(filename).get_all_functions()
File "/home/dobin/Development/disasm/app/executable.py", line 109, in get_all_functions
function_syms = self.get_function_syms()
File "/home/dobin/Development/disasm/app/executable.py", line 131, in get_function_syms
function_syms = list(filter(lambda sym: sym["st_info"]["type"] == "STT_FUNC", symtab.iter_symbols()))
AttributeError: 'NoneType' object has no attribute 'iter_symbols'
dobin@minime:~$ uname -a
Linux minime 4.4.0-34-generic #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
dobin@minime:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"
dobin@minime:~$
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.