Skip to content

Commit

Permalink
Fix #2.
Browse files Browse the repository at this point in the history
  • Loading branch information
sgfvamll committed Oct 22, 2024
1 parent e069616 commit 5f16890
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/main/java/com/gsat/tools/PCodeExtractorV2.java
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,12 @@ public JSONObject generateCFGJson() {
String fname = function.getName();

Boolean skip = filters != null;
for (String key : filters) {
if (fname.indexOf(key) != -1) {
skip = false;
break;
if (filters != null) {
for (String key : filters) {
if (fname.indexOf(key) != -1) {
skip = false;
break;
}
}
}
if (skip) {
Expand Down

0 comments on commit 5f16890

Please sign in to comment.