mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
Merge remote-tracking branch 'origin/GP-0_CorrelatorTestFailure'
This commit is contained in:
commit
07a575a985
1 changed files with 3 additions and 2 deletions
|
@ -106,7 +106,8 @@ public abstract class AbstractCorrelatorTest extends AbstractGhidraHeadedIntegra
|
|||
FunctionIterator functions =
|
||||
functionManager.getFunctions(sourceSetThatShouldBeFound, true);
|
||||
for (Function function : functions) {
|
||||
if (function.getBody().getNumAddresses() > ExactMatchBytesProgramCorrelatorFactory.FUNCTION_MINIMUM_SIZE_DEFAULT) {
|
||||
if (function.getBody()
|
||||
.getNumAddresses() > ExactMatchBytesProgramCorrelatorFactory.FUNCTION_MINIMUM_SIZE_DEFAULT) {
|
||||
Address sourceEntryPoint = function.getEntryPoint();
|
||||
Collection<VTAssociation> associations =
|
||||
manager.getRelatedAssociationsBySourceAddress(sourceEntryPoint);
|
||||
|
@ -137,7 +138,7 @@ public abstract class AbstractCorrelatorTest extends AbstractGhidraHeadedIntegra
|
|||
}
|
||||
}
|
||||
catch (Exception e) {
|
||||
Msg.error(this, "Unexpected exception", e);
|
||||
errors.add(e.getMessage());
|
||||
}
|
||||
finally {
|
||||
session.release(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue