From f2743a259e48c181e2732b3498aac5e8c8df00c2 Mon Sep 17 00:00:00 2001 From: Dan <46821332+nsadeveloper789@users.noreply.github.com> Date: Wed, 27 Aug 2025 16:15:29 +0000 Subject: [PATCH] GP-5650: Replace 'Dynamic Update' checkbox in 'Instruction Info' with toolbar action. --- .../ShowInstructionInfo.htm | 16 +- .../images/ShowInstructionInfo.png | Bin 65454 -> 55796 bytes .../processors/InstructionInfoProvider.java | 137 +++++++++--------- .../processors/ShowInstructionInfoPlugin.java | 10 +- .../ShowInstructionInfoPluginTest.java | 58 +++----- .../ShowInstructionInfoPluginScreenShots.java | 8 +- 6 files changed, 105 insertions(+), 124 deletions(-) diff --git a/Ghidra/Features/Base/src/main/help/help/topics/ShowInstructionInfoPlugin/ShowInstructionInfo.htm b/Ghidra/Features/Base/src/main/help/help/topics/ShowInstructionInfoPlugin/ShowInstructionInfo.htm index df002a6ff5..715c12a5c4 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/ShowInstructionInfoPlugin/ShowInstructionInfo.htm +++ b/Ghidra/Features/Base/src/main/help/help/topics/ShowInstructionInfoPlugin/ShowInstructionInfo.htm @@ -115,7 +115,7 @@ (Mnemonic, Number of Operands, Address, Flow Type, Delay Slot Depth, Prototype Hash, Input Objects, Result Objects, Constructor line numbers, Instruction Bytes, etc.).
-The Operand columns (Op1, Op2, etc.) display information about a particular +
The Operand columns (Op0, Op1, etc.) display information about a particular operand. Each operand has a number of rows. At the end of the row is a descriptive name for the information displayed on that row.
@@ -197,13 +197,13 @@
-The Dynamic Update checkbox indicates whether the window should update when you - change the location in the Code Browser. By default, the checkbox is selected. As you - change your location - in the Code Browser, the window will be updated to show the info for the new - location. If you turn off the checkbox, the window does not update; the next time you - choose Instruction Info, a new tab is displayed in the Instruction Info - window.
+The
Dynamic Update toggle indicates whether the + window should update when you change the location in the Code Browser. By default, the + toggle is selected. As you change your + location in the Code + Browser, the window will be updated to show the info for the new location. If you turn + off the toggle, the window does not update; the next time you choose Instruction + Info, a new tab is displayed in the Instruction Info window.
diff --git a/Ghidra/Features/Base/src/main/help/help/topics/ShowInstructionInfoPlugin/images/ShowInstructionInfo.png b/Ghidra/Features/Base/src/main/help/help/topics/ShowInstructionInfoPlugin/images/ShowInstructionInfo.png index cff081a85d27a2f28c7d081ba2fa31527af86586..bf2aabfba9faa4557a29854bef1f936a0f0c2b09 100644 GIT binary patch literal 55796 zcmb5W1yt1E+C6Rof*^v9bc3{Xmz0Dw3?ncS5-J_irG$iZ2q>X|fD8;EA&rE@&@s}W z456fS4DmaoU+=x|UH|p2_rI39Wabm+Jm;L}?7g3Th|tkeAt9nBI(P0IiJGdC-nny^ zkmt^wFS?8mKH0I|7(RFI**P^Oc>^!g)eM5_8_E-*UsSKLs$Wx6*ST~_o}WiOF84}M zfgDG8(6gXRqvyge2a&U?83rlI>jqsWB4=AlXImn^&0M>@KdbM!>jB$;+E3C-x1PQ& zy`ktCx}KS~-aV35(pY57^(6pq_3mo$lY1;;_>}mcJp; zs1^4v?ItH6ZP=K%2o8L@oA3AO{Z)DaubqqRkotoGwJ)S85(OjEYSzIWJ_q{mms|;; zB!yH48w=Xev4+)NQ{N(Hv`(K4b*S~qa?_10ugt3jPn;Zo7!FJh&L>_DSY3RQcwQ@$ zs&t~c{9?v&mVAT!=?Fu8d$SvUKPh2evkp5+7}EV$3qO0bhOEn0cJsX~q}#yQ+b-uo zQ~K|@Kf`x#zm9%7G-Z{P2qQM7t8A8k*`Hn^Otm&I5^QKGD*4!9z{Z~6p+mykf9e*& z8TH0INg|=vjIh_rcJI|0(Z^x}se6g(Pg5(tG)tL@|9rglKGBmzQgdecn@n(@+2Qbl z9s5RLL$C5Er&ev6hWpm@=CI)^sUMC5mbG#+O)f(#Z|JVdzW$!)dCtGleQ19&
?0K{HE(|*#jNmHd(5oH^*sPb!z hGMxfNgBQpp9?nt-44Sq#?FAdNWRE^#0-XH#TfAAs3? fJ1G>q*PVyaxt9FzP$!h9kdg6Pj?C)fWSdn*y_|
z&Id7Ha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