Message ID | 20211118030116.564632-1-guillermo.e.martinez@oracle.com |
---|---|
Headers |
Return-Path: <libabigail-bounces+patchwork=sourceware.org@sourceware.org> 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 7E214385842A for <patchwork@sourceware.org>; Thu, 18 Nov 2021 03:01:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7E214385842A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1637204504; bh=J4ypL/KxmbNaJwXbCaIrm5iHYNxQgTrDdBi873VFUFA=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Help: List-Subscribe:From:Reply-To:From; b=aM81za7kM8vg+F0Ntmvrl7lGcWNU5FdekTfzh9/gZsb/2EA2bvoqbeYTJlwAYEBB2 G3JX9ZMsbLszF+KZpnvICc6WAkOBvECRXaX1Y4cxVZvIpJFqmtLuOjT7lTVD4+OTsN lY9s5H/DfQk4chy5uzaEeD//GQ6RfdwSYCXAN+Ts= 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 CC8093858402 for <libabigail@sourceware.org>; Thu, 18 Nov 2021 03:01:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CC8093858402 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 1AI1YQdD025611 for <libabigail@sourceware.org>; Thu, 18 Nov 2021 03:01:38 GMT Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by mx0b-00069f02.pphosted.com with ESMTP id 3cd1w84mw5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <libabigail@sourceware.org>; Thu, 18 Nov 2021 03:01:38 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 1AI317vh174982 for <libabigail@sourceware.org>; Thu, 18 Nov 2021 03:01:37 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2173.outbound.protection.outlook.com [104.47.57.173]) by userp3020.oracle.com with ESMTP id 3caq4v96g9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <libabigail@sourceware.org>; Thu, 18 Nov 2021 03:01:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O48aoR8al3JTEujp099hdxEpwX2aNQwPXNfA0YCHcN14YZUhWYucoSah1zsKJNHHkuTrpgTWrj1NFhiO0HFj4unA/tjVh3r199Wi+DR+KFsa2w3+18EmpRvFLmvWW8RINVszTB6gxplYvRR+VYIEV/fliKvSZgb/NWQJ6w48DQ4KFQuyvDZDnXyo9ikDH/Gfy8tzg5NuU/qCwEQQtb2/FUvOy3r8C//5qtIM/Bj7iR0FCGJ8zbgcAPzc5CRvmwxkSFbSmvF2ica0qaMI8la4UxqlxqcMkECsVrGsDZA3mSipFXcSfa8t5rb1AkWN1dn9gZm5K+dRisIfTRlOyv15Mg== 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=J4ypL/KxmbNaJwXbCaIrm5iHYNxQgTrDdBi873VFUFA=; b=NgQ7+es9jbttUAmtqq9fa/qbdLIRjzroAMJFzQLe20al8sUyyPY2eTXA+DBZS6+ffqDxgEIjK7KCEG4ZO3Vv59Oa4/JNVGrRgut5o8SGsTliV2uKa1zo3oMRsd0/GaT1yzRaHFDOFEl1zcShW3mwKCHWXs1yb6mZ2c1eDVkdQiFgfFxYMmeLtOQJnKjZ3MJ+XYp3DLX0gDKHPr5W+X587mUWrOINY7jxbBH/hnZS3O8gH7+x8/7h/5ji1k2a1HykW1HZprOASZGF7hKTVOqKBOs/JXTxT1fyz5VZqglQSBHBO/nsAKIQ/m+OmIrbhf5BRoxGZ4ktJlI9r8FzHusYzA== 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 MN2PR10MB3982.namprd10.prod.outlook.com (2603:10b6:208:1bc::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.26; Thu, 18 Nov 2021 03:01:35 +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 03:01:35 +0000 To: libabigail@sourceware.org Subject: [PATCH 0/3] Some improvements in ctf-reader. Date: Wed, 17 Nov 2021 21:01:13 -0600 Message-Id: <20211118030116.564632-1-guillermo.e.martinez@oracle.com> X-Mailer: git-send-email 2.33.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BYAPR05CA0099.namprd05.prod.outlook.com (2603:10b6:a03:e0::40) 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::13) by BYAPR05CA0099.namprd05.prod.outlook.com (2603:10b6:a03:e0::40) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4713.17 via Frontend Transport; Thu, 18 Nov 2021 03:01:34 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f9958889-d99e-44d0-b49f-08d9aa3fbb20 X-MS-TrafficTypeDiagnostic: MN2PR10MB3982: X-Microsoft-Antispam-PRVS: <MN2PR10MB3982E1771E595F27BF92EE8CBA9B9@MN2PR10MB3982.namprd10.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Bt8EGjXLv/SAknVoovRsw3T+RXysEsluF/NucuWrNiTPFwKtswAAD3P9/AO50iRB7d/2YGslLQKtPh8aaQSaz7KCzcrfAXZmUd3gdssQE/BsUDSMQj2w5Kx/oF2UeyUVfMAw19onmWAkST/AZo4LYx7K/e/F0NDYB996R7yowjTD00pyPfJRQVCJPHbAYg0phbMZN6Z9zUGRZTuT9LSUn6LsUk+FQ3m6K4uWOxveqnQZyv8imufs8+f9ORqPKya+LsEFf8K0Bs/35xpIXcTZ5kh6lpZrkTPzkV2fkef/FKGs8zVOpWmmtbmM6v09c7jqYOwd0a/w9rDwA6xwEsSiwrdOr+i1DV3lhsoxE1cW4oAt9eXepokXHMgh18/rdENXce/+L6nk6/wHTlkrpQH2/nFpQSlUjG2/1ijRF1wKTqFOrMhKTriuoFTzcsMdgHzAwxm5yQQaZjuf9p000D9LfUZqOqBbLvRAwnQnmnjBGOoEsHiWP4pZOEolgGJ/xr9N6lI1OlQzde0VjRQTRBP/jXiAyJNdSif7nJNpuxfbICHIkwFHiLkG+A/Aa7nhzGQx7/X08Q6eFR+6n7mALNdGHtUFkwJ8+DrAkZ21DWI7GgyFVY4hJmYA2KeDzCepA9xsQdK3p3bb19d90/PI+qekRQ== 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)(5660300002)(6666004)(508600001)(7696005)(186003)(6916009)(66556008)(52116002)(316002)(2616005)(8676002)(2906002)(66946007)(66476007)(103116003)(6486002)(38100700002)(107886003)(86362001)(8936002)(4326008)(83380400001)(36756003)(1076003)(4744005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 8IUpf5iPGKrxGgy/wT3N7xzxB++tP0MY64Bx62Jqk8ZRNZSWDqLXMMUpDu7Mg1iyKAGNIH1i/PSk5tTaXPd1xV53EeeOY0fwtIZKhJ+UfDlxFfAw7QLqBHNZNiR4bFrIRuSStxb6B5jYIOg/FN9QiPWBFzKde47YISqIEsJH2UcQvDmlrjGjqyaNjHkX0JlqUrzhwUHJyXJ67a5vm9B6GEQzLd+aDfrfmSSbejCoRn4JXxN2IpH0CDRVTGYH4jen/OhDl6b4k5raWPwchaUDUYqOgmkz2gwZCmnbZyTZwdMjRy3OPJhcDGwUzN3Tu+F2JV0Lslq7viLF+PVBxTnxnGYZyU/tl4ZSCIh1g1/4I0J+gKptcIZChyxcir2ohkIltBJQe6wNW3xwTbHMxf97y/YMY8lbQ2b9tjxI+LaIzR78WNY8CbJf2orXpYOSyMvgGlHQFqIzllINfGpJo+ETB7FpJWCYkVG4+t1MP8i45usN7Tq3iJQ82QftirBEdLiZoNxyQjqei25a5g2t3cQxevY6Og+R/PQP7GiVJelIWdX5Wk2S7iWtP3udODB02CzenqSX4PdgUp+v/lwNd14VvXX+m3MTHzWXCDEISVKnmsM6CTgaCLg+7o9eAkPwrwlYmZBvXyYYdPi6eH6jRfXckijXig3/T8K6Yw5cIQHZ6x5A1GLAPWUKlA5bM3ghdwiOA+EQfUwddCeNgr+Ips7p2so32EbkKI62ynswCLOavhgZlDbGth0hEhE8OzaYsfPlSkyRo6v04CjfS+rMqeupof9zYnqAwtyxv/+dStkaEYlInTr/SdClEVazWhpkf1W2vf30rueh5LCvaF1wMNEo+CL6dh1Al9he/PlrzGRQ+2ur3yPrj8wl7AqXYdMZH9oImEW2Uuj5wlvSpM0p5YeqaX45TRtal0R/7H/ieRHM65TkNW/AeuWPLRaIdKJrkjiLAUUPTozXMbj4ykLVd9GRaCVlmmnqdAzBwsxSKXP2NyDGynnAsNUvtuUYW5cyVQUyx3qakE2XjV66TdV0mjOrZGO/8mHe0bLf4uMC7ygVNpNSY6psuTwNejTYDy63Kc7CIwMM19Hh6Jzlpv0E2wYontTUt0O3NZq0iv6lTZjp6RvHYR3sl7bByAwRj7ESfUGtw2KSSuRATTjafQiiwb9D5N/xWjN4Bi3C58+5Dh4pcEP30+uVgDjVVxp+iynxVT215n6ma+3X1ima7HEW9h4gsoR0EyRpukuKR/FqdG4h93W8fUfjcLjvsJynKtExyornEbAq+HRFt7/i9weZ5lIs/hxQfr2h7+J8Hib48fcqXic5u1Gg/4z9BQEyry1GBVh4v89JQCwZt7CVbXmblrgyytqxomKC5J4150Acix0ZdZvXZu1RbY9i6qbTabeBVOCty0UYIkkq47a6Zh24CcIxlwNcwUnUvT6ycgKLLria6L5CdtXyAHbjVKXkgAj7E4ckOEcyNXTio0NhxTkKhtez53YZdNoiYZUH+mD/rvnDmxCuVJRvly4KfY83PTjK/dr7Mt2yCXQUzv4tlBtnN2HQ/RG/AQYEzL2nRh5qYp9/UoJxXkhMwM2GjrbUHShk1AfdEPdGjdealbX8i0kaXkv9COf6qS0bPLpaTs5eev+T5QTJ6aSosul2cgQ1iJAzReeXgFYnz8Ks5I2tN9Hk3QJFmFcgXUkDE7vn0EdL/D2XQYk= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: f9958889-d99e-44d0-b49f-08d9aa3fbb20 X-MS-Exchange-CrossTenant-AuthSource: BL0PR10MB2852.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Nov 2021 03:01:35.1708 (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: ZFdZsZzVYEDaCcWUpd2Lcdi4c0BX+RnHbq7zF3f1gq3fWSerrQLpqukPHm20OrWdHW9nKtEdiWU5X/FH7CPijLnEbXUskqBIOe8fDwGu7BI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR10MB3982 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10171 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 mlxscore=0 phishscore=0 bulkscore=0 mlxlogscore=802 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111180016 X-Proofpoint-GUID: hYJtZEN9Gvd_X6WGxr5K26paJlTNly-H X-Proofpoint-ORIG-GUID: hYJtZEN9Gvd_X6WGxr5K26paJlTNly-H X-Spam-Status: No, score=-6.4 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 <libabigail.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libabigail>, <mailto:libabigail-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libabigail/> List-Help: <mailto:libabigail-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libabigail>, <mailto:libabigail-request@sourceware.org?subject=subscribe> From: "Guillermo E. Martinez via Libabigail" <libabigail@sourceware.org> Reply-To: "Guillermo E. Martinez" <guillermo.e.martinez@oracle.com> Errors-To: libabigail-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libabigail" <libabigail-bounces+patchwork=sourceware.org@sourceware.org> |
Series | Some improvements in ctf-reader. | |
Message
Guillermo E. Martinez
Nov. 18, 2021, 3:01 a.m. UTC
Hello libabigail team, These patches contains some possible improvements for the ctf-reader. 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 | 22 ++++++++++++---------- tools/abilint.cc | 10 +++++----- 4 files changed, 30 insertions(+), 23 deletions(-)