From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id EDDD343E01; Fri, 5 Apr 2024 15:06:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CB334402E3; Fri, 5 Apr 2024 15:06:03 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id B8370402D4 for ; Fri, 5 Apr 2024 15:06:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1712322362; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NFQjM+IVG99vXtcRNHx5OKgIO6cGL9+L9JyNaUTg3F8=; b=gqoRgfUwQ0CG+1MbUsGe5euwp2mR3nmKXUXEnVJHSF02RAETeeuZx2aDR8sNt/PPjV1ItH PYyWVBqzvZX7zdk2lFJh3M7ebi4qgIYAPvIC6qiQ1iQenzSRYMr8SmiNio4e5RtT7ZlSEK KNSeEbWClYvmTw6ttm41wbSe65PkMc8= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-298-W7fARwlZOzy_LHD_W7Znjw-1; Fri, 05 Apr 2024 09:06:01 -0400 X-MC-Unique: W7fARwlZOzy_LHD_W7Znjw-1 Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-432c2b72b15so21898971cf.1 for ; Fri, 05 Apr 2024 06:06:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712322360; x=1712927160; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:organization:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VxqZouLFtf4jvDpLNwujKIJbDJgS2IJdWiop54LmogQ=; b=GaCMqcYUKc9WuQ1/RBz4zhUzs9R5PJl4b1NdvXEuha/U9NcLyds+BsGgKRqjd3SII5 YZsiBkfk5Pm3y5qhAQODrVK80WtcQUvHYvht9Be6vASI+aeE82qs83vefSHwpptO5Pxf oC/xRoCueb3HjH1sUl+vyXcgAUaQ0IQe750jnhbq0GAHZ/qEhxBoTLtS7eGbq8L0BrnW GoIzucFLz2oSuRpDAiPpkLKILo5O2kBhJwnIm+Hp05d33baUCwyPA98/uInxahx+ev7H loj+mnV2IPen8P5CSJRjLKdr4BEk9jJZuMV3TezacUrtbOs+A54MbYE2NrlZuNsi5KcD 26uA== X-Forwarded-Encrypted: i=1; AJvYcCWVxD0HCMit+HvHhGRbY30mdOQcecHfpbEW/VFGsrKAXnIp+wquGBJxRJXd8NN34CnyXgJ6su4bQKJlRP4= X-Gm-Message-State: AOJu0YxgNQjq319Y/nIGyg2prBu5E+WoKi8TW69ivJ/Lkdyzl3tdGB/a VSLdXaCnDthl7rcJ2w3wyDdWIAxfsbzhhPxrzhoQwFVNIrZycD64G31LJNPUqi8lWLmxkt/dUXz 0Cdlc0f68To318TIrk1P+X+zQdMVAaneRyd878l3FgZ5c8jizhQz1vBIhIxfvQykoc4ys/oYLQX qTB2nSHvw1ZuINq/yQhaOK X-Received: by 2002:a05:622a:3c6:b0:434:3422:8406 with SMTP id k6-20020a05622a03c600b0043434228406mr1423957qtx.6.1712322360514; Fri, 05 Apr 2024 06:06:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF2dbk12cmlAzVDAN3PycEShlssp1QomVb7ZamcHrcoEA0fbLa/pAXTAMNNNvx7wzUM4rP9VA== X-Received: by 2002:a05:622a:3c6:b0:434:3422:8406 with SMTP id k6-20020a05622a03c600b0043434228406mr1423920qtx.6.1712322360081; Fri, 05 Apr 2024 06:06:00 -0700 (PDT) Received: from localhost (88-120-130-27.subs.proxad.net. [88.120.130.27]) by smtp.gmail.com with ESMTPSA id eh21-20020a05622a579500b0042eef160b4dsm729755qtb.76.2024.04.05.06.05.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 06:05:59 -0700 (PDT) Received: by localhost (Postfix, from userid 1000) id 2A293C1B73C3; Fri, 5 Apr 2024 15:05:57 +0200 (CEST) From: Dodji Seketeli To: David Marchand Cc: Tyler Retzlaff , Thomas Monjalon , dev@dpdk.org Subject: Re: [PATCH] lib: add get/set link settings interface Organization: Red Hat / France References: <20240326235909.25276-1-mpazdan@arista.com> <20240403134026.7037-1-mpazdan@arista.com> <20240403164937.GA14169@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> <20240405005518.GA27122@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> X-Operating-System: AlmaLinux 9.3 X-URL: http://www.redhat.com Date: Fri, 05 Apr 2024 15:05:57 +0200 In-Reply-To: (David Marchand's message of "Fri, 5 Apr 2024 10:58:57 +0200") Message-ID: <87h6ggklhm.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hello, > On Fri, Apr 5, 2024 at 2:55=E2=80=AFAM Tyler Retzlaff [...] >> i'm jealous we don't have libabigail on windows, so helpful. Heh, thank you for the kind words. David Marchand writes: [...] > libabigail is written in C++ and relies on the elfutils and libxml2 > libraries. That is correct. Thank you for chiming in, David. > I am unclear about what binary format is used in Windows... so I am > not sure how much work would be required to have it on Windows. So for a little bit of context, libabigail constructs its own internal representation (IR) of the artifacts relevant to perform the analysis. The middle-end of the system then performs the needed analysis on that IR. The binary format itself it handled by a front-end. Today, we have front-ends that reads the ELF format and constructs the IR and hands it over to the middle end. One could very well imagine a new front-end that knows how to read the Portable Executable (PE) format that is used on Windows, along with its accompanying debug information. Luckily, I've written articles[1][2] that explains how libabigail recently switched to having a multi-front-end architecture that we have used to support alternative debug information formats like CTF[3] and BTF. In light of that, adding a new PE front-end would be "just work to do", I would think. And I would obviously not be opposed to helping such a project and merging the result in the end. As for any feature request, I would encourage potentially interested parties to file an "enhancement request" on the bug tracker of the project[4]. > That's more something to discuss with Dodji :-). Thanks for the plug ;-) I hope this helps. [1]: https://developers.redhat.com/articles/2023/01/05/libabigail-multiple-= debugging-formats#the_resulting_multi_front_end_architecture [2]: https://www.redhat.com/en/blog/bpf-type-format-support-libabigail-23 [3]: https://lwn.net/Articles/795384/ [4]: https://sourceware.org/bugzilla/enter_bug.cgi?product=3Dlibabigail Cheers, --=20 =09=09Dodji