public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
From: "woodard at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: libabigail@sourceware.org
Subject: [Bug default/25043] abidiff doesn't take stdin
Date: Tue, 23 Mar 2021 13:24:27 +0000	[thread overview]
Message-ID: <bug-25043-9487-r5KhW5NRiY@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-25043-9487@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=25043

--- Comment #4 from Ben Woodard <woodard at redhat dot com> ---
While ELF files and their DWARF are not streamable reading abixml is serialized
enough that it should be streamable. The real problem that this creates is when
preserving abixml files on storage in a compact format.

Say for example:
abidw foo.elf | gzip > foo.abixml.gz

Then later on you want to use it in a diff, then you run into a two step
process that requires extra temporary storage.

gunzip -c foo.abixml.gz > /tmp/foo.abixml
abidiff /tmp/foo.abixml
rm /tmp/foo.abixml

However if abidiff could handle stdin then it would be a much simpler process:
gunzip -c foo.abixml.gz | abidiff - newfoo.elf

-- 
You are receiving this mail because:
You are on the CC list for the bug.

      parent reply	other threads:[~2021-03-23 13:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-01  0:00 [Bug default/25043] New: " woodard at redhat dot com
2019-01-01  0:00 ` [Bug default/25043] " maennich at android dot com
2019-01-01  0:00 ` maennich at android dot com
2019-01-01  0:00 ` dodji at redhat dot com
2021-03-23 13:24 ` woodard at redhat dot com [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-25043-9487-r5KhW5NRiY@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=libabigail@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).