mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-5379: Require snap parameter in object getters/setters. Lots of fallout.
This commit is contained in:
parent
22a4de14ea
commit
789a9fa4b7
167 changed files with 2527 additions and 2788 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue