mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-3122 Added AutoCloseable Transaction API to DBHandle and
UndoableDomainObject. Performed renaming of some internal classes.
This commit is contained in:
parent
b4de95f4f5
commit
1795c35dfc
209 changed files with 1892 additions and 2054 deletions
|
@ -18,6 +18,7 @@ import java.nio.ByteOrder;
|
|||
|
||||
import agent.dbgeng.manager.impl.DbgManagerImpl;
|
||||
import agent.dbgeng.model.AbstractDbgModel;
|
||||
import db.Transaction;
|
||||
import ghidra.app.script.GhidraScript;
|
||||
import ghidra.app.services.DebuggerModelService;
|
||||
import ghidra.app.services.DebuggerTraceManagerService;
|
||||
|
@ -29,7 +30,6 @@ import ghidra.trace.model.Trace;
|
|||
import ghidra.trace.model.memory.*;
|
||||
import ghidra.util.LockHold;
|
||||
import ghidra.util.Msg;
|
||||
import ghidra.util.database.UndoableTransaction;
|
||||
import ghidra.util.exception.DuplicateNameException;
|
||||
|
||||
/**
|
||||
|
@ -119,7 +119,7 @@ public class BangAddressToMemory extends GhidraScript {
|
|||
}
|
||||
|
||||
private void parse(String result) {
|
||||
try (UndoableTransaction tid = UndoableTransaction.start(trace, "Populate memory");
|
||||
try (Transaction tx = trace.openTransaction("Populate memory");
|
||||
LockHold hold = trace.lockWrite();) {
|
||||
//Pattern pattern = Pattern.compile("\\s+(*)\\s+(*)\\s+");
|
||||
//Matcher matcher = pattern.matcher(fullclassname);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue