Example #1
0
 def add_data_obj(self, name, size):
     """Add a data symbol to this program, escape it's name"""
     if self.program:
         self.program.add_data_object(demangle(name), size)
Example #2
0
 def add_func_obj(self, name, size):
     """Add a text symbol to this program, escape it's name."""
     if self.program:
         self.program.add_function_object(demangle(name), size)