Re: [PATCH 1/2] libdwfl: handle duplicate ELFs when reporting archives

2023-11-18 Thread Mark Wielaard
Hi Aleksei, On Fri, Nov 17, 2023 at 10:35:40PM +, vvv...@google.com wrote: > When archive is processed in process_archive (libdwfl/offline.c), it > creates an Elf object for each archive member. Then in > process_archive_member it calls process_file to create a Dwfl_Module > through __libdwfl_

Re: [PATCH 2/2] tests: Add test for duplicate entries in archive

2023-11-18 Thread Mark Wielaard
Hi Aleksei, On Fri, Nov 17, 2023 at 10:35:41PM +, vvv...@google.com wrote: > Test dwfl-report-offline-memory against an archive that contains > non-relocatable ELFs with the same name and contents. Nice testcase. Do note that you also have to add the new test file to EXTRA_DIST so it actually