mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GP-1426: Refactor assembler. Fix issue where Sleigh passes context to the right.
This commit is contained in:
parent
56a8346e78
commit
760a9ca462
114 changed files with 4968 additions and 1820 deletions
|
@ -63,7 +63,7 @@ public class AssemblyThrasherDevScript extends GhidraScript {
|
|||
}
|
||||
|
||||
@Override
|
||||
public AssemblyResolvedConstructor select(AssemblyResolutionResults rr,
|
||||
public AssemblyResolvedPatterns select(AssemblyResolutionResults rr,
|
||||
AssemblyPatternBlock ctx) throws AssemblySemanticException {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
boolean gotOne = false;
|
||||
|
@ -72,7 +72,7 @@ public class AssemblyThrasherDevScript extends GhidraScript {
|
|||
if (ar.isError()) {
|
||||
continue;
|
||||
}
|
||||
AssemblyResolvedConstructor can = (AssemblyResolvedConstructor) ar;
|
||||
AssemblyResolvedPatterns can = (AssemblyResolvedPatterns) ar;
|
||||
if (can.getContext().combine(ctx) == null) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue