예제 #1
0
 def __repr__(self):
     BinInfo = BinaryInfo.__repr__(self)
     return BinInfo + '\n<%d Objects>' \
                    '\n\t [Compiler] Sizes         : %s' \
                    '\n\t [Compiler] Funcs per obj : %s' \
                    '\n\t offsetFromSection        : %s' \
                    '\n\t offsetFromBase           : %s' \
                    '\n\t VirtualAddress           : %s' \
                    % (self.numObjects, self.objSize, self.objFuncCnt, HP(self.objOffsetFromSection),
                       HP(self.objOffsetFromSection), HP(self.objVA))
예제 #2
0
 def __repr__(self):
     objInfo = Objects.__repr__(self)
     return objInfo + '\n<%d Functions>' \
                      '\n\t [Compiler] Sizes        : %s' \
                      '\n\t [Compiler] BBs per func : %s' \
                      '\n\t offsetFromSection       : %s ' \
                      '\n\t offsetFromBase          : %s ' \
                      '\n\t VirtualAddress          : %s' \
                      % (self.numFuncs, self.funcBBCnt, HP(self.funcSize),
                         HP(self.funcOffsetFromSection),
                         HP(self.funcOffsetFromBase), HP(self.funcVA))
예제 #3
0
 def __repr__(self):
     funcInfo = Functions.__repr__(self)
     return funcInfo + '\n<%d BasicBlocks>' \
                       '\n\t [Compiler] Sizes         : %s' \
                       '\n\t [Compiler] Fixups per BB : %s' \
                       '\n\t offsetFromFunc           : %s ' \
                       '\n\t offsetFromSection        : %s ' \
                       '\n\t offsetFromBase           : %s ' \
                       '\n\t VirtualAddress           : %s' \
                       % (self.numBBs, self.BBFixupCnt, HP(self.BBSize), HP(self.BBOffsetFromFunc),
                          HP(self.BBOffsetFromSection),
                          HP(self.BBOffsetFromBase), HP(self.BBVA))