mirror of
https://github.com/NationalSecurityAgency/ghidra
synced 2024-08-25 03:56:41 +00:00
Merge remote-tracking branch 'origin/patch'
This commit is contained in:
commit
86b7d45ba8
|
@ -34,6 +34,7 @@ import javax.swing.tree.*;
|
|||
|
||||
import org.junit.Assert;
|
||||
|
||||
import ghidra.framework.ApplicationConfiguration;
|
||||
import ghidra.util.*;
|
||||
import ghidra.util.datastruct.WeakSet;
|
||||
import ghidra.util.exception.AssertException;
|
||||
|
@ -48,6 +49,18 @@ import utility.function.ExceptionalCallback;
|
|||
* should use AbstractGenericTest instead
|
||||
*/
|
||||
public class AbstractGuiTest extends AbstractGenericTest {
|
||||
|
||||
@Override
|
||||
protected ApplicationConfiguration createApplicationConfiguration() {
|
||||
// A simple way to signal that Gui tests are not headless
|
||||
return new ApplicationConfiguration() {
|
||||
@Override
|
||||
public boolean isHeadless() {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets all windows in the system (including Frames).
|
||||
*
|
||||
|
|
|
@ -2285,7 +2285,8 @@ define pcodeop lswxOp;
|
|||
#lwax r0,r2,r0 0x7c 02 02 aa
|
||||
:lwax D,RA_OR_ZERO,B is OP=31 & D & RA_OR_ZERO & B & XOP_1_10=341 & BIT_0=0
|
||||
{
|
||||
D = sext(*:4(RA_OR_ZERO));
|
||||
ea:$(REGISTER_SIZE) = RA_OR_ZERO+B;
|
||||
D = sext(*:4(ea));
|
||||
}
|
||||
@endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue