File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ def _additionalAnalysis(self):
92
92
if op ['type' ] == "imm" and ".dll_" in self .getName (op ['value' ]):
93
93
self .setName (candidate , "j_" + self .normalizeFuncName (self .getName (op ['value' ])))
94
94
except Exception as e :
95
- logging .debug ("Exception searching for trampoline functions, candidate %s: %s" % (self .eh .hexString (candidate ), str (e )))
95
+ self . eh . logger .debug ("Exception searching for trampoline functions, candidate %s: %s" % (self .eh .hexString (candidate ), str (e )))
96
96
97
97
98
98
def _getFileNameFromPath (self , path ):
@@ -165,7 +165,7 @@ def _getFuncInfo(self, addr):
165
165
self .cache ['afi' ][addr ] = self .r .cmdj ("afij %d" % addr )[0 ]
166
166
return self .cache ['afi' ][addr ]
167
167
except Exception as e :
168
- logging .debug ("exception finding function info for %s: %s"
168
+ self . eh . logger .debug ("exception finding function info for %s: %s"
169
169
% (self .eh .hexString (addr ), str (e )))
170
170
self .cache ['afi' ][addr ] = None
171
171
return None
@@ -421,7 +421,7 @@ def getNameAddr(self, name):
421
421
if name [:2 ] == "0x" :
422
422
return int (name , 16 )
423
423
else :
424
- logging .debug ("error in getNameAddr" )
424
+ self . eh . logger .debug ("error in getNameAddr" )
425
425
return None
426
426
427
427
You can’t perform that action at this time.
0 commit comments