[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pdumping "into" the executable

From: Tom Tromey
Subject: Re: pdumping "into" the executable
Date: Mon, 26 Feb 2018 14:10:27 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux)

>>>>> "Daniel" == Daniel Colascione <address@hidden> writes:

Daniel> I don't think strip-robustness is all that important, and I'd
Daniel> hope we could re-sign binaries as needed.

Distros usually build everything with debuginfo and then strip off the
debuginfo.  So, building this way would require special build hacks for
the distros.

Maybe instead you could use objcopy to stuff the data into some section
in the executable.  Or, just turn the dump to a C file, then compile it
and do a second link.  Aside from (maybe hypothetical) C compiler
limits, that would be very portable.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]