From patchwork Thu Nov 18 23:23:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Guillermo E. Martinez" X-Patchwork-Id: 47909 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 802573857C6A for ; Thu, 18 Nov 2021 23:24:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 802573857C6A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1637277844; bh=Eyqyoz+Ppvpye94FYPaIUoVkdvkWQCDviTuMszjRRXo=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Help:List-Subscribe:From:Reply-To:From; b=nKWpt854TNcEF6M6ajzzo7sSH64E09w54Fd5qS2+tq6Mv5CU7+gqtNfWBBNZoxnp1 09Z4CePmhpz4clR6+rniU+lOP1nEMaZxc1Sbk219vDaFqJ5fZYPVCnzZdaN3qIZz85 tv+DwW8/cASnxTaX3J4ChilMYnrQvNua32IeFqcE= X-Original-To: libabigail@sourceware.org Delivered-To: libabigail@sourceware.org Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by sourceware.org (Postfix) with ESMTPS id CF7253858422 for ; Thu, 18 Nov 2021 23:23:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CF7253858422 Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1AIM9ZSN025625 for ; Thu, 18 Nov 2021 23:23:58 GMT Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by mx0b-00069f02.pphosted.com with ESMTP id 3cd1w8bh8a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 18 Nov 2021 23:23:58 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 1AINKX7i184319 for ; Thu, 18 Nov 2021 23:23:57 GMT Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam08lp2170.outbound.protection.outlook.com [104.47.73.170]) by aserp3030.oracle.com with ESMTP id 3ccccsjghg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 18 Nov 2021 23:23:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Pf52or6LkPJDyX0qfYrPTPhxvdD694lk0OOiZIm2Sh1AbuBwpNRSgOvo/tyN67ZxC6QdKVCbXHAAcx/6o/y8N0ieqnIzjCl9gLZXT6O2EnPdSIcwOKF9x3J0aJOtVjXzH5OGApFr/HVMscWdOsDBUm4ZfzwIQV+PWMVd5ExAQHuPYdjXbsL8QIKVfY6qAkZ0yWMJ0RSbR9D2p0T/ronpRl+rWQ8Q1gQij1kBMi4bNzm/oqson+8G9N1fBY+Amye8rZvcI1G0t/SBNZybjGOMZQ4HsUAGbR2L7qk5vLXhvJNMZUcvHNIF8GQH98l5q8+yHZ2xz+yxomlCwtvbNUSiCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Eyqyoz+Ppvpye94FYPaIUoVkdvkWQCDviTuMszjRRXo=; b=We0vq1lC4W/cqa2zOz4kz/cx+R+2mQeKKoJW+szQTRjXrs4IWwtMrQrMektiSeuLUS0B0hCO+JahIAuszEyqKT/IYunHv/foBOXrvuFWFn20aEfI36EFcgias1n+cdtcCzVIvlne7vvaoAwOd0GAeGzlCmPAABEku5nSHFSEMSwIoBaX2bBh9AR8dis2jGe1UxyAjFcjoSlChdV182+ROeQydXnE77DHiLhrkOEc0ccMuyUq5CnFIYLUZ0ApGGsCmTiC2MCqsK1gc5a2z4XeLlUGLhvATGDC9p5APJk+2DiUNQQN6yr7HT3WwuCJvTeBnuRGD7oauZda6ZWvShOJGA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none Received: from BL0PR10MB2852.namprd10.prod.outlook.com (2603:10b6:208:76::22) by MN2PR10MB4045.namprd10.prod.outlook.com (2603:10b6:208:1b7::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.27; Thu, 18 Nov 2021 23:23:55 +0000 Received: from BL0PR10MB2852.namprd10.prod.outlook.com ([fe80::7126:e98e:9cff:8765]) by BL0PR10MB2852.namprd10.prod.outlook.com ([fe80::7126:e98e:9cff:8765%7]) with mapi id 15.20.4713.021; Thu, 18 Nov 2021 23:23:55 +0000 To: libabigail@sourceware.org Subject: [PATCH v2 0/3] Some improvements in ctf-reader. Date: Thu, 18 Nov 2021 17:23:27 -0600 Message-Id: <20211118232330.16310-1-guillermo.e.martinez@oracle.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211118025606.554809-1-guillermo.e.martinez@oracle.com> References: <20211118025606.554809-1-guillermo.e.martinez@oracle.com> X-ClientProxiedBy: SA0PR11CA0189.namprd11.prod.outlook.com (2603:10b6:806:1bc::14) To BL0PR10MB2852.namprd10.prod.outlook.com (2603:10b6:208:76::22) MIME-Version: 1.0 Received: from sali.us.oracle.com (2606:b400:8004:44::1a) by SA0PR11CA0189.namprd11.prod.outlook.com (2603:10b6:806:1bc::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.19 via Frontend Transport; Thu, 18 Nov 2021 23:23:54 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5d2513e5-bbd9-4004-863a-08d9aaea7d1b X-MS-TrafficTypeDiagnostic: MN2PR10MB4045: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4303; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 51iLEPi6hcI63g8V8AC6U68X/ByoTdtAl2t3t3syXwvbEzwsLkgEas7jhG0e5RCXPM6lwMDjuJowiQXcaMUkXkWl3p0F5fDRD9EXjzQRCT95fyc8APB0Bjup84RX5jcDSBdd5cKM4Y59zlxVWblGgAYubZvSh5uHUfAKgikNHXQWMhG9uD40QwjOpeaklDHir5idKo3tpx5ILoyLXIL3umf56TEADlFMxmQMW72G6KJelyTr705fivXtjHKTsyp+i55k//096gC6YDBFXy/jl2JVOwNcgs2Ei2rKdeP7WDymusEUPVvR7u7c3lFuQovbsNvbb51yQtPezkYhIyBNH2ThT+E8/MZuDMPN5cD5ehakMVIUzlCXDnyZivXg/CMSvuIpAZGtIFEOfV0jLBnYZNjVPay3yzhhdy63uR5TULvR0pzKPmK9UBB+GLluHRYH9fL4/vBZ6IyAou0s5f6petxjaSHetSgyWLMQ1D8U/9oze5KCtSuUwAvH6xU+6CUICHG4nqk1LLyiqCQrgSh3ZVGKoiOXBmEeGCsQYyfE5FpK4G+vXEvAb73ZlGnx2U7Hu4mG7n+y1lE6Jgnciez5cCUu5bTJm5Rj0tSwMRaeJH4caPAjsyzTh6wcKbcTteHh2zywCaXZ+erbsstgfIW9Cg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BL0PR10MB2852.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(6666004)(6486002)(36756003)(107886003)(38100700002)(83380400001)(86362001)(5660300002)(52116002)(8936002)(8676002)(7696005)(2906002)(6916009)(508600001)(103116003)(66556008)(66946007)(316002)(66476007)(4744005)(4326008)(2616005)(186003)(1076003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 4OaPK0dolRh+oTAsm3U5OORaZMbEoC7d8HXEsZ3MVXeCzuLbAWGE2yajD5gQXJ3am+SX61niVsZKAglOsO5uRtOzMk9PFc/kDeYRZ3K01bgv8w/LHVfZzCzcwyTCM/4rcDMQ2D+QlTAPIaUmejjGaMPEaaeTu3xO2tjMUf41HQvNHW4i6Z0TztuAAsIJzk3p+3+LLtIgleq1DEOdmlggYvHTIOrEqHFORQBp/sPeFyWF0cBFh1zS+yJ4K4UmKCV7Y74skB0mJJI+z/2jbaSz8SHAgraPCP9bO+FKuEWmhOwPhuoFn5bAtVVibyLvVMybd0qzjrCMCstIUlUQ3jlRzXiJNSZGl06JXeJ+CVAojfZNpm+XjSXRqEdnT1aQL2VG7QlNzVf62nqK3cHTDY3RZpg6Wt7E4QIUfU2rAzJbp2PtY/LLtNGXpd1Yi6g8K1mKZNLfWlNgklwz0yFDGlVJN5+ga4LQsVMOAaqdPWdSHyhoGqE1mN2s6ME20AVc8bJ8vWNeIp6APp38pwyjmkZM4U6S5zZn8YWb3t7L/j8ZmhuilUpFQGyVVXR2PvcnFA2VJ5hUSaYrXsPqr6IO4yML/SXT1mAs7odE2LLUEW87U+t2BRpjqDCduHED3vE+QDsAdUCuG5daa7g32QzH0sIExgpYfAbIaQTCuE/MOOK1QGW85hfHpJu5ySaa6FgfW20jMUUfbGKyWV6LYfHWinvzvJVgIj7RSCL3JG6tQvogofsAuMlUNxj/yi6QMV0AK2/K5jQ73V7M/QUoD7H74IHo1lkYyjkhfoT5Kw6+Aijs47dITHZyfrFf0VHjXyIKOKSdzhmVsZBc6rN6c6O48reNJncAHKTYoXHbVFwoVuCFEwO0FhHv99SLQQy+a54AazVaQW6vsJytvc2TeU41rND24oVIeE/FgqE5XycSpy6WN5R/rjO5QGSSJZECmxc51v3mLzAFVKqKM+Cc7RFeM0GyEmGtu9l+o0//CwSi35q30j8M0zUgofa8e7H4IudbPfmzmBl/BXcORGXHKCgAenx3X+KfXVyuEevK1qH070E/Op97Y4fLuEtyrT6kqw5BuxRMMlbrjxL5UzTfmrvnPmaGoBV28GUJjElWYAmGv8kC48wU7rgf1U6A9ObOu7c77qeddhQ7s3FQaVnjNwqhgR+hvFp7K1GX/5PCMcPunLjgFXIHpF6Bm4RtCJ/a4b8tUsmKQqvfC+OrDL+OrKqHU6szaEEOjzFMBPYY+LGWkSDkg+NQetIKHCYbNzBFrUJmQ7K3n4CKrr0ybTVFk0SnQDkeBFEFajNYoby8imWPVnf+8cpQqNIYBGNBmCOX2r5k+Y+rODSEHTirCL46ziSTf3SOtGNGUU2dBpxk/atjoWMW5IlBqvDPDhm31/8kJOGN9N87x5xEWnwJ3v3XOjhPHgVpF9kRY6TC0dCnrIM5eOaiI1O3RCxMO1fhPpqOrTEtjrrqHBmhkMtymyx/kkWpk4SSLNlT1NfdKd6vZ+C/SFb3m1wFYBvMzSs9ycPDctPA4wcA2/y0eTrYr0Gqdvtjz8PSDDitgyz3Ov7TXZCo3aug4bBJI9r+2XiaxVaGXlp2l2RRECZt8/VsqEWylRiBBhORskOT66bW4eJ2K84rJqRp3gni6F/4Z+HgbiEJJouw9wYtpqmBLjs/6w9omyDcj4L0MsnNVPhqm9VhNbxFWsBbaNA= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5d2513e5-bbd9-4004-863a-08d9aaea7d1b X-MS-Exchange-CrossTenant-AuthSource: BL0PR10MB2852.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2021 23:23:55.0799 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 4C65ydmTmd55erSAKz6bCo6z4O4gqnbZPfUpcNh3OmnZLDd0BcAmgmTT43mRoCUpbK6OqXsnKHUsa7sVQvBB+e1aEj3LJ1j293O3FSPUT7s= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR10MB4045 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10172 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 phishscore=0 bulkscore=0 adultscore=0 mlxscore=0 malwarescore=0 mlxlogscore=775 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111180120 X-Proofpoint-GUID: lCYDujQBdFSYcKC7ZuWprY8cFEWJ-2gi X-Proofpoint-ORIG-GUID: lCYDujQBdFSYcKC7ZuWprY8cFEWJ-2gi X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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-Patchwork-Original-From: "Guillermo E. Martinez via Libabigail" From: "Guillermo E. Martinez" Reply-To: "Guillermo E. Martinez" Errors-To: libabigail-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libabigail" Hello libabigail team, This new version contains conventions used in libabigail project according to: COMMIT-LOG-GUIDELINES and CONTRIBUTING docs :-) I really appreciate your comments :-). Kind regards, Guillermo Guillermo E. Martinez (3): ctf-reader: Use argument by reference reading the context ctf-reader: Use smart pointers in create_read_context ctf-reader: Use ABG_ASSERT instead of assert include/abg-ctf-reader.h | 11 +++++++---- src/abg-ctf-reader.cc | 10 ++++++---- tools/abidiff.cc | 24 ++++++++++++------------ tools/abilint.cc | 11 +++++------ 4 files changed, 30 insertions(+), 26 deletions(-)