mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GP-3256 Added support for Instruction length-override
This commit is contained in:
parent
a820a36e94
commit
aefb7f2aed
67 changed files with 1895 additions and 574 deletions
|
@ -15,10 +15,9 @@
|
|||
*/
|
||||
package ghidra.feature.vt.api.markupitem;
|
||||
|
||||
import static ghidra.feature.vt.api.main.VTMarkupItemApplyActionType.REPLACE;
|
||||
import static ghidra.feature.vt.db.VTTestUtils.addr;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static ghidra.feature.vt.api.main.VTMarkupItemApplyActionType.*;
|
||||
import static ghidra.feature.vt.db.VTTestUtils.*;
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -379,7 +378,7 @@ public class DataTypeMarkupItemTest extends AbstractVTMarkupItemTest {
|
|||
new ProgramProcessorContext(program.getProgramContext(), atAddress);
|
||||
InstructionPrototype proto = program.getLanguage().parse(buf, context, false);
|
||||
Instruction createdInstruction =
|
||||
listing.createInstruction(atAddress, proto, buf, context);
|
||||
listing.createInstruction(atAddress, proto, buf, context, 0);
|
||||
commit = true;
|
||||
return createdInstruction;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue