mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-25 16:19:35 +08:00
Merge remote-tracking branch 'origin/GP-0_d-millar_WS22_test_failures'
This commit is contained in:
+2
-4
@@ -989,11 +989,9 @@ public class DbgEngCommandsTest extends AbstractDbgEngTraceRmiTest {
|
||||
Address bp1 = rangeMain.getMinAddress();
|
||||
|
||||
assertBreakLoc(procBreakLocVals.get(0), "[0]", bp1, 1,
|
||||
Set.of(TraceBreakpointKind.SW_EXECUTE),
|
||||
"ntdll!LdrInit");
|
||||
Set.of(TraceBreakpointKind.SW_EXECUTE), "ntdll!Ldr");
|
||||
assertBreakLoc(procBreakLocVals.get(1), "[1]", bp1.add(4), 1,
|
||||
Set.of(TraceBreakpointKind.HW_EXECUTE),
|
||||
"ntdll!LdrInit");
|
||||
Set.of(TraceBreakpointKind.HW_EXECUTE), "ntdll!Ldr");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+3
-6
@@ -15,8 +15,7 @@
|
||||
*/
|
||||
package agent.dbgeng.rmi;
|
||||
|
||||
import static org.hamcrest.Matchers.containsString;
|
||||
import static org.hamcrest.Matchers.greaterThan;
|
||||
import static org.hamcrest.Matchers.*;
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
import java.io.File;
|
||||
@@ -143,11 +142,9 @@ public class DbgEngMethodsTest extends AbstractDbgEngTraceRmiTest {
|
||||
Address main = rangeMain.getMinAddress();
|
||||
|
||||
assertBreakLoc(procBreakLocVals.get(0), "[0]", main, 1,
|
||||
Set.of(TraceBreakpointKind.SW_EXECUTE),
|
||||
"ntdll!LdrInit");
|
||||
Set.of(TraceBreakpointKind.SW_EXECUTE), "ntdll!Ldr");
|
||||
assertBreakLoc(procBreakLocVals.get(1), "[1]", main.add(4), 1,
|
||||
Set.of(TraceBreakpointKind.HW_EXECUTE),
|
||||
"ntdll!LdrInit");
|
||||
Set.of(TraceBreakpointKind.HW_EXECUTE), "ntdll!Ldr");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -610,7 +610,7 @@ public abstract class AbstractGdbTraceRmiTest extends AbstractGhidraHeadedDebugg
|
||||
// The targets above use different sleep methods:
|
||||
// Linux spawns clock_nanosleep
|
||||
// Windows spawns ZwDelayExecution and multiple ZwWaitForWork threads
|
||||
return IS_WINDOWS ? 3 : 1;
|
||||
return IS_WINDOWS ? 2 : 1;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -93,7 +93,7 @@ public abstract class AbstractLldbTraceRmiTest extends AbstractGhidraHeadedDebug
|
||||
// The targets above use different sleep methods:
|
||||
// Linux spawns clock_nanosleep
|
||||
// Windows spawns ZwDelayExecution and multiple ZwWaitForWork threads
|
||||
return IS_WINDOWS ? 3 : 1;
|
||||
return IS_WINDOWS ? 2 : 1;
|
||||
}
|
||||
|
||||
static String getSpecimenPrint() {
|
||||
|
||||
Reference in New Issue
Block a user