[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v2 0/4] Bug 24431 Fix analysis of v4.19 aarch64 kernels



Hi!

This series addresses an issue with reading the __ksymtab of v4.19+ aarch64
kernels that has been introduced post libabigail-1.6.

The minimal patch would be to cast the symbol addresses acquired by
read_int_from_array_of_bytes to int32_t. But treating that values as a
32bit value already when reading allows to remove the architecture specific
treatment and the need to deal with overflows.

Cheers,
Matthias

Matthias Maennich (4):
  dwarf-reader: Fix comments for try_reading_first_ksymtab_entry_using_{pre_,}v4_19_format
  dwarf-reader: templatize read_int_from_array_of_bytes
  Bug 24431 Read 32bit values when testing for the v4.19 symbol table format
  Bug 24431 Treat __ksymtab as int32_t for v4.19+ kernels

 src/abg-dwarf-reader.cc | 75 ++++++++++++++---------------------------
 1 file changed, 26 insertions(+), 49 deletions(-)

-- 
2.21.0.1020.gf2820cf01a-goog