[Haskell-cafe] Shrink function names
David Feuer
david.feuer at gmail.com
Sat Sep 18 18:41:01 UTC 2021
I don't know if this is possible, but maybe you could use -opta (or -optlc
or -optlo) to pass an appropriate option to the assembler (or LLVM
compiler). Or -optlm to pass something to the linker. GHC itself probably
doesn't support what you're trying to do, because obfuscating object code
has never been a development priority.
On Sat, Sep 18, 2021, 2:30 PM Caeeh <caeeh at yandex.com> wrote:
> How can the names of functions from the generated executable be
> hidden/shrinked/erased?
> I tried with -O2 option in GHC, but it does not work. In the binary I
> found names that are present in the source code. I want to remove them.
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20210918/299fc534/attachment.html>
More information about the Haskell-Cafe
mailing list