Skip to content

Commit a357ca6

Browse files
committed
performance nudge
1 parent 0d4cbf2 commit a357ca6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

refinery/units/formats/exe/vmemref.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,10 @@ def process(self, data):
115115
self.log_info('disassembling and exploring call graph using smda')
116116
with NoLogging():
117117
cfg = smda.Disassembler.SmdaConfig()
118-
cfg.CALCULATE_SCC = False
119-
cfg.CALCULATE_NESTING = False
120-
cfg.TIMEOUT = 600
118+
setattr(cfg, 'CALCULATE_SCC', False)
119+
setattr(cfg, 'CALCULATE_HASHING', False)
120+
setattr(cfg, 'CALCULATE_NESTING', False)
121+
setattr(cfg, 'TIMEOUT', 600)
121122
dsm = smda.Disassembler.Disassembler(cfg)
122123
_input = data
123124
if not isinstance(_input, bytes):

0 commit comments

Comments
 (0)