From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <36kinYggKCjUXgifTZURXffXcV.TfdcZSRSZXRZcjfliTVnRiV.fiX@flex--gprocida.bounces.google.com> Received: from mail-ed1-x549.google.com (mail-ed1-x549.google.com [IPv6:2a00:1450:4864:20::549]) by sourceware.org (Postfix) with ESMTPS id 06A84385803E for ; Mon, 13 Jun 2022 14:25:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 06A84385803E Received: by mail-ed1-x549.google.com with SMTP id eh10-20020a0564020f8a00b0042dd9bf7c57so4071939edb.17 for ; Mon, 13 Jun 2022 07:25:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=b8p7uW3jUdmE10lVkdcwVCBKz5kgmzng71QX5mFih0g=; b=cSBIfAmrty0QQCRbmeRCS93y3af2/bWZSCr9ED1IL5pS5yHcW1E20afkeWpWWKhlQD KtHontK9Qq86Fx0HOTfvuj2QTfJIdjZnC3QgE8qFiL4HcyMAZzQ5UlvWB4hYIMH+NY+8 xJ8lSAFpyYKTpe1oqxt2uGG6z/kWAAyARbJgd9ePcXf+iIgAHHmFowHlf50SXvYFXrrZ CqsJ0S7IyVjA1VVVFTXaKOicmI0YOapnih/OK66jvaRZ/GBa5jb7KVDvlPSiPqEN62l5 PRYL9mDCuqgqSqiWz1q0gefn5YoYtEIOsOok0WV3N8u9zXCUiu8mlcyfn8x4U5rtOAmJ aQ+Q== X-Gm-Message-State: AOAM533f2jm3D3qURdhKR9uNMBsKyUtKRvr5R2ZdmSnz6qDQxN4RXa9V JUEqL4F7rBArv10AcmJNPXCHWNKlMn1+sO2QUOfqIi1w3iKZWShssu9dbW2M0Xqc+obkr2J6KmD XP1XW0C2zRWNRHEnCfk3WPm6c496z86JGq6OTKgxL2wFce93hl5Z8JlT2DzAFBzPOdIcqZz0= X-Google-Smtp-Source: AGRyM1vBpip+9KmnOMikwZ/lvYFw0tVwJG24Gun+YEykA7mWpyFWbFHO4xSyaqXeQGzJIeTG0r8q/cABSpnJuA== X-Received: from tef.lon.corp.google.com ([2a00:79e0:d:209:8336:7478:639d:964a]) (user=gprocida job=sendgmr) by 2002:a17:907:9715:b0:711:ca06:ca50 with SMTP id jg21-20020a170907971500b00711ca06ca50mr145235ejc.192.1655130346748; Mon, 13 Jun 2022 07:25:46 -0700 (PDT) Date: Mon, 13 Jun 2022 15:25:29 +0100 In-Reply-To: <20220321160221.1372398-1-gprocida@google.com> Message-Id: <20220613142533.3676501-1-gprocida@google.com> Mime-Version: 1.0 References: <20220321160221.1372398-1-gprocida@google.com> X-Mailer: git-send-email 2.36.1.476.g0c4daa206d-goog Subject: [PATCH v5 0/4] add symbol namespace support, update symbol CRC support From: Giuliano Procida To: libabigail@sourceware.org Cc: dodji@seketeli.org, kernel-team@android.com, gprocida@google.com, maennich@google.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-15.4 required=5.0 tests=BAYES_00, DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2022 14:25:52 -0000 Hi Dodji. I'd be grateful if could take a look at this patch series. Patch 4/4 in particular addresses Bug 28954. Thank you! Regards, Giuliano. New in v5: * improve error message when ELF header not found Giuliano Procida (4): crc_changed: eliminate copying of shared_ptr values optional: minor improvements Linux symbol CRCs: support 0 and report presence changes add Linux kernel symbol namespace support include/abg-cxx-compat.h | 30 +++++++-- include/abg-ir.h | 17 +++-- src/abg-comp-filter.cc | 46 +++++++++++-- src/abg-ir.cc | 47 ++++++++++---- src/abg-reader.cc | 15 +++-- src/abg-reporter-priv.cc | 38 +++++++++-- src/abg-symtab-reader.cc | 64 +++++++++++++++++++ src/abg-writer.cc | 9 ++- tests/data/Makefile.am | 7 +- .../data/test-abidiff/test-crc-report-0-1.txt | 16 +++++ .../data/test-abidiff/test-crc-report-1-0.txt | 16 +++++ ...crc-report.txt => test-crc-report-1-2.txt} | 0 tests/data/test-abidiff/test-namespace-0.xml | 15 +++++ tests/data/test-abidiff/test-namespace-1.xml | 15 +++++ .../test-abidiff/test-namespace-report.txt | 17 +++++ tests/test-abidiff.cc | 12 +++- tests/test-symtab.cc | 8 +-- 17 files changed, 325 insertions(+), 47 deletions(-) create mode 100644 tests/data/test-abidiff/test-crc-report-0-1.txt create mode 100644 tests/data/test-abidiff/test-crc-report-1-0.txt rename tests/data/test-abidiff/{test-crc-report.txt => test-crc-report-1-2.txt} (100%) create mode 100644 tests/data/test-abidiff/test-namespace-0.xml create mode 100644 tests/data/test-abidiff/test-namespace-1.xml create mode 100644 tests/data/test-abidiff/test-namespace-report.txt -- 2.36.1.476.g0c4daa206d-goog