GP-62_emteere fixed issue with RTTI0 structure analysis with no found

RTTI4 structures
This commit is contained in:
emteere 2020-08-05 16:13:10 -04:00
parent 2c3ceb59d1
commit c6d3a7dcd1

View file

@ -179,9 +179,11 @@ public class RttiAnalyzer extends AbstractAnalyzer {
getRtti4Addresses(program, dataBlocks, rtti0Locations, validationOptions, monitor);
// create all found RTTI4 tables at once
CreateRtti4BackgroundCmd cmd = new CreateRtti4BackgroundCmd(rtti4Addresses, dataBlocks,
validationOptions, applyOptions);
cmd.applyTo(program, monitor);
if (rtti4Addresses.size() > 0) {
CreateRtti4BackgroundCmd cmd = new CreateRtti4BackgroundCmd(rtti4Addresses, dataBlocks,
validationOptions, applyOptions);
cmd.applyTo(program, monitor);
}
}
/**