WLD(1)

πŸ“¦
version 0.0.7 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’… WLD β€” the Witchcraft Linker, bestie edition ✨

okay so real talk, wld is the tool that takes an executable and goes poof β€” now it's a shared library. transform executables into shared libraries. that's the whole vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

wld -libify [-noinit] file

like, that's it. one flag, one optional flag, one file. we love a low-effort queen. πŸ‘‘


✨ DESCRIPTION ✨

The Witchcraft Linker is part of the Witchcraft Compiler Collection. iykyk. πŸ’œ

here are the options, no gatekeeping:

  • -libify β€” Libifies input ELF executable into a shared library. that's the main character move, that's the whole point of being here fr fr. πŸ”₯
  • -noinit β€” Ignore constructors and desctructors in output library. like, we're just not doing the setup/teardown thing, okay? periodt.

πŸŽ€ EXAMPLES πŸŽ€

here's the iconic demo, copy it exactly bestie:

cp /bin/cat /tmp && wld -libify /tmp/cat

what this does: Copy the executable /bin/cat to /tmp and transform it into a shared library. cat but make it a library. it's giving glow-up. 😭✨


πŸ’€ NOTES πŸ’€

heads up: wld alters the file passed as argument. no copy, no undo, no "wait bestie i changed my mind". back it up first or cry later. πŸ™ˆ

The Witcraft Compiler Collection is a set of reverse engineering tools. that's the family wld belongs to. 🧚


🫢 AUTHOR 🫢

Written by endrazine (Jonathan Brossard). the icon, the legend. πŸ’–


πŸ› REPORTING BUGS πŸ›

found a bug? not the vibe, but okay, tell the Witchcraft Compiler Collection online bug tracker:

<https://github.com/endrazine/wcc/issues>

they'll handle it. slay. πŸ’…


Copyright Jonathan Brossard

License: MIT and BSD Licenses. See <https://github.com/endrazine/wcc/blob/master/LICENSE>.


🌈 SEE ALSO 🌈

The full documentation of the Witchcraft Compiler Collection is available online at <https://github.com/endrazine/wcc/wiki> β€” go read it, it's a whole saga. πŸ“š


mwah πŸ’‹ this page came from the Witchcraft Compiler Collection, dated April 2017 β€” yes she's an older queen and she still ate. πŸŽ€βœ¨

πŸ“¦ where this page comes from