From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by sourceware.org (Postfix) with ESMTPS id C5A333858410 for ; Mon, 22 Jan 2024 10:43:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C5A333858410 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=fluendo.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=fluendo.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C5A333858410 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::b29 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705920193; cv=none; b=iZRO3DDYzogiNTunCMQKkUiizxwY6dISds+xkEP5neLF1WAPHOjqAp3CLESLr2pTDd3WUDjQizmdI9fVAr8gB0VHabt/xRM+u3oe9M9TIg2vtwwLz3EhvWNGtyfmzLy7izdQ4ob5TVGlUOhlkS+DBbnFS8ur98314nMA7V7t2X8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705920193; c=relaxed/simple; bh=AxXygo46Wd4GU6JqbmzD/gaPlfSGcejhWMdRNGPeF/g=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=L7sLyqwmLwDnE/SSoKxCRSY03638wDjtEdf4/Sqst9P2MisK9DgBwVqRrqSntzD0wGgdl1EHbTgMmGxpt73ideCZvDGyWZEWgTjDlB10uGLQXQerpc6Zo6/tyMIdEndWNXAOerajpPugFOYzL0ug53AWFKIWtYqM61cweZLp8jg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-yb1-xb29.google.com with SMTP id 3f1490d57ef6-dc223463ee4so2309612276.2 for ; Mon, 22 Jan 2024 02:43:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fluendo.com; s=google; t=1705920191; x=1706524991; darn=sourceware.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=HyS8oaexh3Zbjt44wb0TiAg17iD0SOZOnqaTNCcF6xo=; b=RICKi2C8TE2hdotMMgVvO2dLrpPIA0mKRvKcboTACc/ER6RHvahDr6XLCI3kNTzOF7 RN956obv9WEJysybxZK+aiwEVHefaXycIIxqbLI+661QBFDrQJb73LaqIY/fQkQph30h 0GLAjFh3j/BxOqhOGTh4dgiRMjtaY6yNqOcUY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705920191; x=1706524991; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=HyS8oaexh3Zbjt44wb0TiAg17iD0SOZOnqaTNCcF6xo=; b=rqTohf+N3yVEJazU+EzOznuFWzQQbb4LfL7rNnUL9gBEIxnQNYsPxAbMVR9SGEebUR JEIClEetGRLaj/gptQshVYYa0tCji/kVd3s3qSI/G5sr/JGMHa1S+/9OtZl0+lDr1RGZ o3VgM7xeMBTOQGTBo9FBMr8dwcYnym6es/l695aQlceI8FdsaE620oMV5MTwKKFZklHw UxbsEu5M9sUrfBCFKZziQVR57V9rVItBIzi/UGUsVtFdR8/STwrTvIBtRjFYm73RakoL BIDpfjbR5ulguFVk6GIb8/s4inBv34olQWxULPWmU4/meabscd7FJt6mFfs64JJX3QNX gPyQ== X-Gm-Message-State: AOJu0YxXTMHjQcu+ydSQS0bKlXoqSEMtjPlhnn8K6epFNRwFRdiiC78/ 70+P6/r94kNMCm9UKFNmlS10NUiaegsm+l1SaTdL81TGo+RNjNYb7b40QMP2JtI9ZSgSKUZ86Qj 1ui3SbVQFqfYBTeQ2ak8M2xocqytRntac9as608TSKfbBuf0FIXawNVDGAgAV8CCvSnU+7/2765 U8qaZ2rpJzX8/HyANetz+rHuSzElyADSRtZyhy X-Google-Smtp-Source: AGHT+IGQaDHzIvhdY7C09uSIBeUVsBGD+2nJeUvJMQeUpngdQgO9zGcwD7TXnYb80R43rhcjQJkrFbPBNOApsxziKCA= X-Received: by 2002:a25:2692:0:b0:dc2:2e5e:e69 with SMTP id m140-20020a252692000000b00dc22e5e0e69mr1769944ybm.27.1705920190895; Mon, 22 Jan 2024 02:43:10 -0800 (PST) MIME-Version: 1.0 From: Maxim Dementyev Date: Mon, 22 Jan 2024 11:43:00 +0100 Message-ID: Subject: readelf --string-dump analog for objdump To: binutils@sourceware.org Content-Type: multipart/alternative; boundary="000000000000fe721e060f867eea" X-Spam-Status: No, score=4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_IMAGE_ONLY_12,HTML_MESSAGE,KAM_BADIPHTTP,NORMAL_HTTP_TO_IP,NUMERIC_HTTP_ADDR,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_REMOTE_IMAGE,T_SCC_BODY_TEXT_LINE,WEIRD_PORT autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: **** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --000000000000fe721e060f867eea Content-Type: text/plain; charset="UTF-8" Hi, The readelf utility has a very useful option - "--string-dump=" which displays the contents of the indicated section as is (as printable strings). As far as I can understand, to do the same with the objdump you need to do "objdump --section= --full-contents ...". But the output is in the "hexdump" format, the contents is splitted by 0x10 size blocks (so, not possible to grep on this contents). Is there any plans to implement a printable strings format for this case for the objdump utility? Or is there a solution without parsing the hexdump format and restoring these printable strings? Thank you in advance! Best regards, Max -- --000000000000fe721e060f867eea--