mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-0 fix NPE in decompiler text finder when decompiler errors
This commit is contained in:
parent
5a31ded2e0
commit
5ca24f0001
1 changed files with 3 additions and 0 deletions
|
@ -158,6 +158,9 @@ public class DecompilerTextFinder {
|
|||
}
|
||||
|
||||
ClangTokenGroup tokens = results.getCCodeMarkup();
|
||||
if (tokens == null) {
|
||||
return null;
|
||||
}
|
||||
List<ClangLine> lines = DecompilerUtils.toLines(tokens);
|
||||
|
||||
// (?s) - enable dot all mode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue