Git Product home page Git Product logo

freedom's People

Contributors

cseagle avatar digdugg avatar moshekaplan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

freedom's Issues

List index out of range on bn_disasm.py, line 396

Hi, i think this project is a great idea. I've been trying to use it with many pe32 and .exe without success yet on a single file. All i get is the error:
Traceback (most recent call last):
File "fREedom.py", line 93, in
main(args)
File "fREedom.py", line 55, in main
dis.generate_data()
File "bn_disasm.py", line 638, in generate_data
self.set_basic_block_instructions()
File "bn_disasm.py", line 396, in set_basic_block_instructions
addr = xrefs[0][0]
IndexError: list index out of range
Any advice is apreciated. Thanks in advance.

Error in create_empty_tables: with self.conn as conn: AttributeError: __exit__

Traceback (most recent call last):
File "fREedom.py", line 93, in
main(args)
File "fREedom.py", line 70, in main
db = binnavi_db.binnavi_db(args.database, args.user, args.passwd, args.dbhost)
File "binnavi_db.py", line 31, in init
self.create_empty_tables()
File "binnavi_db.py", line 456, in create_empty_tables
with self.conn as conn:
AttributeError: exit

not stripped ELF64 bin

Traceback (most recent call last):
File "./fREedom.py", line 93, in
main(args)
File "./fREedom.py", line 46, in main
if not ldr.load():
File "fREedom/elf_loader.py", line 747, in load
self.parse_symbols()
File "fREedom/elf_loader.py", line 668, in parse_symbols
name = self.get_string(self.symbol_strtab + st_name)
File "fREedom/loader.py", line 194, in get_string
res += ch
TypeError: cannot concatenate 'str' and 'NoneType' objects

the problem is here: https://github.com/cseagle/fREedom/blob/master/loader.py#L194
because get_byte() returns a None object.

Some problem

When i try to disassemble a simple Hello world! program, it not work.

Created section .text, 0x401000:0x401420, raw length 0x600, perms 5
Created section .rdata, 0x402000:0x40228e, raw length 0x400, perms 1
Created section .data, 0x403000:0x403108, raw length 0x200, perms 3
Traceback (most recent call last):
File "fREedom.py", line 89, in
main(args)
File "fREedom.py", line 51, in main
dis.generate_data()
File "/home/tony/binnavi/free/bn_disasm.py", line 604, in generate_data
self.generate_disassembly()
File "/home/tony/binnavi/free/bn_disasm.py", line 585, in generate_disassembly
self.process_operands(i)
File "/home/tony/binnavi/free/x86_disasm.py", line 271, in process_operands
op_size = 'b%d' % op.size
AttributeError: 'X86Op' object has no attribute 'size'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.