mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
GT-2 - Documentation - fixed missing help links in Decompiler; fixed
script categories
This commit is contained in:
parent
f0832a6e9d
commit
85d1ab7d51
10 changed files with 111 additions and 104 deletions
|
@ -14,7 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
//Script to compare analysis between current and chosen program.
|
||||
//@category Testing
|
||||
//@category Analysis
|
||||
|
||||
import java.util.Iterator;
|
||||
|
||||
|
@ -399,8 +399,8 @@ public class CompareAnalysisScript extends GhidraScript {
|
|||
}
|
||||
|
||||
boolean isSwitch(Symbol[] syms, String name) {
|
||||
for (int i = 0; i < syms.length; i++) {
|
||||
if (syms[i].getName().startsWith(name)) {
|
||||
for (Symbol sym : syms) {
|
||||
if (sym.getName().startsWith(name)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue