diff options
Diffstat (limited to 'src/format')
-rw-r--r-- | src/format/format.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/format/format.c b/src/format/format.c index 6968dcc..e782996 100644 --- a/src/format/format.c +++ b/src/format/format.c @@ -827,9 +827,7 @@ bool g_binary_format_add_symbol(GBinFormat *format, GBinSymbol *symbol) range = g_binary_symbol_get_range(symbol); addr = get_mrange_addr(range); - assert(has_phys_addr(addr) - || g_binary_symbol_get_status(symbol) == SSS_IMPORTED - || g_binary_symbol_get_status(symbol) == SSS_DYNAMIC); + assert(has_phys_addr(addr) || g_binary_symbol_get_status(symbol) == SSS_DYNAMIC); #endif g_binary_format_lock_unlock_symbols_wr(format, true); @@ -923,10 +921,7 @@ bool g_binary_format_add_symbols(GBinFormat *format, GBinSymbol **symbols, size_ range = g_binary_symbol_get_range(symbols[i]); addr = get_mrange_addr(range); - assert(has_phys_addr(addr) - || g_binary_symbol_get_status(symbols[i]) == SSS_IMPORTED - || g_binary_symbol_get_status(symbols[i]) == SSS_DYNAMIC); - + assert(has_phys_addr(addr) || g_binary_symbol_get_status(symbols[i]) == SSS_DYNAMIC); if (has_phys_addr(addr)) { |