DEPINFO(1)

πŸ“¦ version 1010.6, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, gather round β€” depinfo is literally the Xcode dependency info file utility. that's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

depinfo file ...

like, you just hand it one or more *file*s and it does its thing, no cap. 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

so the depinfo utility is here to display the contents of Xcode Dependency Info files β€” and those files are made by the ld(1) and libtool(1) tools. that's it, that's the whole job, and honestly? it ate. πŸ’…βœ¨


🌸 XCODE DEPENDENCY INFO FILES 🌸

okay this is the part where it gets kinda iconic. the Xcode Dependency Info file format is a series of variable length records. and every single record? it begins with a single byte β€” an opcode β€” that tells you what type of record you're looking at. πŸ‘‘

so the opcodes are followed by a single null-terminated C string, and what's inside that C string depends on the opcode. usually it's an absolute path to a location on disk. iykyk. πŸ¦‹

the opcodes include:

  • 0x00 β€” Tool β€” a string describing the tool that produced the dependency information. fr fr, the content and format of this string will vary between tools, so don't come for it. πŸ™ˆ
  • 0x10 β€” Input Found β€” an absolute path to an existing file that was used, directly or indirectly, to build the output file. she's real, she's there, she's serving input energy. πŸ’œ
  • 0x11 β€” Input Missing</em> β€” an absolute path to a file on disk that was looked for but not found. lowkey sad. if a file had been found at that location, it would have been used as input. 😭
  • 0x40 β€” Output β€” an absolute path to the file generated by the tool. the main character, the final product, the moment. πŸ”₯πŸ‘‘

πŸŽ€ SEE ALSO πŸŽ€

go read those too bestie, they're the whole reason this file format even exists. 🌈⭐


and that's the page!! Darwin, dated September 10, 2019, living in DEPINFO(1) β€” periodt. πŸ’…πŸ’– mwah, go read some dependency info files, ily 🫢✨

πŸ“¦ where this page comes from