diff options
Diffstat (limited to 'libunwindstack/tools/unwind_info.cpp')
-rw-r--r-- | libunwindstack/tools/unwind_info.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libunwindstack/tools/unwind_info.cpp b/libunwindstack/tools/unwind_info.cpp index a00b2ee48..7f2d11d67 100644 --- a/libunwindstack/tools/unwind_info.cpp +++ b/libunwindstack/tools/unwind_info.cpp @@ -87,7 +87,7 @@ void DumpDwarfSection(ElfInterface* interface, DwarfSection* section, uint64_t l for (const DwarfFde* fde : *section) { // Sometimes there are entries that have empty length, skip those since // they don't contain any interesting information. - if (fde->pc_start == fde->pc_end) { + if (fde == nullptr || fde->pc_start == fde->pc_end) { continue; } printf("\n PC 0x%" PRIx64, fde->pc_start + load_bias); |