crunchide(1)

crunchide1

Hides symbol names from ld, for crunching programs together

Usage

crunchide [-f keep-list-file] [-k keep-symbol] [object-file ...]

Overview

The crunchide utility hides the global symbols of object-file such that they are ignored by subsequent runs of the linker, ld(1). Some symbols may be left visible via the -k keep-symbol and -f keep-list-file options. The keep-list-file must contain a list of symbols to keep visible, one symbol per line. The names given by keep-symbol or in keep-list-file should be C names. For example, to keep the C function “foo” visible, the option “-k foo” should be used.

The crunchide utility is designed as a companion program for crunchgen(1), which automates the process of creating crunched binaries from multiple component programs.

Releases

87 releases since FreeBSD 2.0.5-RELEASE; the text changed 41 times.

  1. 2.0.5–2.2.6
  2. 2.2.7–2.2.9
  3. 3.0–3.5.1
  4. 4.0–4.2
  5. 4.3
  6. 4.4–4.6.2
  7. 4.7
  8. 4.8–4.11
  9. 5.0–5.2.1
  10. 5.3–6.3
  11. 6.4
  12. 7.0
  13. 7.1
  14. 7.2
  15. 7.3
  16. 7.4
  17. 8.0
  18. 8.1
  19. 8.2
  20. 8.3
  21. 8.4
  22. 9.0
  23. 9.1
  24. 9.2
  25. 9.3
  26. 10.0
  27. 10.1
  28. 10.2
  29. 10.3
  30. 10.4
  31. 11.0
  32. 11.1
  33. 11.2
  34. 11.3
  35. 11.4
  36. 12.0
  37. 12.1
  38. 12.2
  39. 12.3
  40. 12.4
  41. 13.0–13.2
  42. 13.3–16.0

Authors

The crunch utility was written by James da Silva ⟨[email protected]⟩.

Copyright (c) 1994 University of Maryland. All Rights Reserved.

Chris Demetriou ⟨[email protected]⟩ reorganized crunchide so that it supported multiple object formats, and added ELF object support and ECOFF object recognition.

Copyright (c) 1997 Christopher G. Demetriou. All Rights Reserved.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.