GP-5379: Require snap parameter in object getters/setters. Lots of fallout.

This commit is contained in:
Dan 2025-03-03 17:29:24 +00:00
parent 22a4de14ea
commit 789a9fa4b7
167 changed files with 2527 additions and 2788 deletions

View file

@ -288,9 +288,8 @@ public class PopulateDemoTrace extends GhidraScript {
int pc2 = 0;
/**
* For clarity, I will add each tick to the trace in its own transaction. The
* Transaction class eases the syntax and reduces errors in starting and ending
* transactions.
* For clarity, I will add each tick to the trace in its own transaction. The Transaction
* class eases the syntax and reduces errors in starting and ending transactions.
*/
try (Transaction tx = trace.openTransaction("Populate First Snapshot")) {
/**
@ -699,7 +698,7 @@ public class PopulateDemoTrace extends GhidraScript {
long snap =
trace.getTimeManager().createSnapshot("Stepped Thread 2: CALL exit").getKey();
thread2.setDestructionSnap(snap);
thread2.remove(snap);
}
/**
@ -709,7 +708,7 @@ public class PopulateDemoTrace extends GhidraScript {
long snap =
trace.getTimeManager().createSnapshot("Stepped Thread 1: CALL exit").getKey();
thread1.setDestructionSnap(snap);
thread1.remove(snap);
}
/**