From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by sourceware.org (Postfix) with ESMTPS id 635653858291 for ; Thu, 29 Jun 2023 10:09:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 635653858291 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-9920a6a6cb0so61037466b.3 for ; Thu, 29 Jun 2023 03:09:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688033389; x=1690625389; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=jIoBYWdAYL4ktUoUhJHHEoJRZmqGCjpatuXDjc7hF5A=; b=cFxn8HiBI/4ytniws9fhbZEr0xkiBXbLW/m0N9UMCev9QTl8gMc0JfUsDL9tKQKHvq 4Zz4RywiBilDQc0nHnSjgIa6dFVO1VlKAcsYJLST1V4wfVlLWzag0tY/1XRIEx4KXrzJ uEWdBbIQqsIY2MmQphGEtXPjTVluLhIeW4eiW+PVkhI4QplxEj/1FIcaAHsIigT/yIpK /l381wjGl8OAPXVF6glefrSatHoUlN95d0121DrYCOc0LqHlqxaljKT/nBqTy6t5/Ksf tE7fLyF16R7pIRhvtKSZE7Tu9SdjGbY5lGRkJYvDk8WMcKZmKVg7Zs4Rn/a5jCF+AGHX 4kZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688033389; x=1690625389; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=jIoBYWdAYL4ktUoUhJHHEoJRZmqGCjpatuXDjc7hF5A=; b=SC5l+ve9lfW84VxO6vo8kZHPHoOpv5Nq1WXCTDLC9aqalqWr4308ejI/lOUJP5Xr/u CHa4UWboh2aU/ARj6nW1g+ngyeZjc7nMiZ3BJhkN3uZZpebS46BoU+MpQcca3E55H1El VO0K9DGMxx3tKcw+7EgmRHdl6W2r6hBokqKwzHXBcZwTdUZs8Ah3nA2UCfq3ItIDYH6U fXlO5eoclryVAKuXh7oxJ8RJ4hUMy76TC5M7ONdiuvms8jyzF1o6Lae4Ive2/l5BevUq 1MSq+eZ3t32OYO16vHq1q6dhNlBrG8Z8q2IgVsbdERIHqjrHXbDtXzyKfbHpBDFM3Aqs HnYQ== X-Gm-Message-State: AC+VfDwgtwN/MyzJlWwLY7HFSrApO0+yxUhgXvvxVgExNUIo3AKeFmFM wPZWXva9LQcBfIejPshwlQlaEWrB0xTq07YmgLuaNGhQI48= X-Google-Smtp-Source: ACHHUZ4nqAApe1+COWQ8i+Xr3FmD/gFMRLf7RgINpPRQb5AfAvlZYuG6ZbQpTs5XCfMuNSAlc+ziUFi2A//CaWKCvwo= X-Received: by 2002:a17:906:8450:b0:992:6939:2998 with SMTP id e16-20020a170906845000b0099269392998mr3720184ejy.27.1688033389475; Thu, 29 Jun 2023 03:09:49 -0700 (PDT) MIME-Version: 1.0 From: Fr3v1 Date: Thu, 29 Jun 2023 18:09:37 +0800 Message-ID: Subject: How does eu_unstrip restore symbols To: elfutils-devel@sourceware.org Content-Type: multipart/alternative; boundary="0000000000008c7ccc05ff41e6d8" X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --0000000000008c7ccc05ff41e6d8 Content-Type: text/plain; charset="UTF-8" Hi there, I want to get the function names and addresses of a large amount of stripped binaries of Linux packages. The present approach is to restore symbol names by using 'eu_unstrip' and the .debug file within the corresponding .ddeb file. So here are my two questions: 1. Is there another way to get the function names and their addresses? 2. How does eu_unstirp work, does it really make stripped one 'unstrip'? Will it occur to some kind of precision error 3. How fast is it for like 10 million tiny binaries? Best wishes --0000000000008c7ccc05ff41e6d8--