#!/usr/bin/env python


# This is the complete rewrite of Disass Disassembly tool.
# 
# Architecture layout:
#
# Disass         - this file.  Bootstraps the thing
# DisassEXE      - Base Executable code.  Extended by ELF, PE, and MACH-O handlers
# 		   Disassembly code in here
# DisassELF      - Subclass of DisassEXE which handles the ELF specifics
		   (section-loading, lookup-table population, etc)
# DisassPE       - Subclass of DisassEXE which handles the PE specifics
# DisassSection  - Represents a Binary Section.  
# DisassSub      - Class for holding a sub's info.  Not sure yet whether to make opcodes live in Sub or Sect yet.
# 
# DisassGUI is possible.  Making disass interactive opens so many doors to improved reversing.  Either pygtk or pyqt are on my options list.



# Read in executable
#	check for binary signature
#	initialize DisassELF or DisassPE accordingly
# Split into sections (ELF/PE)
# Look through Sections for non-executable sections (Data)
#	Prepopulate lookup table
# Parse X sections
#	Look for Sub splits
#		stack frame, ret, 






class DisassSection:
