GT-2 - Documentation - fixed missing help links in Decompiler; fixed

script categories
This commit is contained in:
dragonmacher 2020-08-05 09:14:21 -04:00
parent f0832a6e9d
commit 85d1ab7d51
10 changed files with 111 additions and 104 deletions

View file

@ -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;
}
}