Skip to content

Commit

Permalink
Add some documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Gu1nness committed Feb 7, 2019
1 parent cd10ff6 commit cfd25fc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "CInterpreter"]
path = CInterpreter
url = [email protected]:SKantar/CInterpreter.git
1 change: 1 addition & 0 deletions CInterpreter
Submodule CInterpreter added at 7a5954
8 changes: 8 additions & 0 deletions dwarf_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ def create_variables(file):


class Tag():
"""The base class defining a DW_TAG_* structure, with a simple
representation method.
"""
def __init__():
return

Expand All @@ -54,6 +57,11 @@ def __str__(self):


class CompileUnitTree():
""" A compile unit, described as a tree. Should contain all the necessary
information : subprograms, structures, etc.
Provides many public methods in order to perform IP lookup, variable
location computation, etc.
"""
def __init__(self, compile_unit, dwarfinfo):
self.tag = "DW_TAG_compile_unit"
self.structures = []
Expand Down

0 comments on commit cfd25fc

Please sign in to comment.