3 ms·
(Don't do this) You could patch the binary after compilation with elfpatch. Also, test: echo "\$$ORIGIN" outputs $ORIGIN. $$ translates to a literal dolla
by Spivak 9y ago
(Don't do this) You could patch the binary after compilation with elfpatch.
Also,
test:
echo "\$$ORIGIN"
outputs $ORIGIN. $$ translates to a literal dollar sign. \ escapes the dollar sign in the shell.
- binarycrusader 9y agoYou can use elfedit instead, but really, it's not that much of a pain to just do it right in the first place.