CHECK_DYLIB(l)

πŸ“¦ version 1010.6, in nixpkgs unstable

🌸 NAME 🌸

check_dylib β€” perform checks on a dynamic library file πŸ’…

Ok bestie, this is the check_dylib(l) manual, and it's literally about checking a dynamic library file. No cap.

✨ SYNOPSIS ✨

check_dylib filename -install_name install_name -seg_addr_table
seg_addr_table -seg_addr_table_filename path_name

πŸ’– DESCRIPTION πŸ’–

check_dylib is a tool used by Apple's Build and Integration team to perform checks on a Mach-O dynamic library as part of the build process. The checks are performed and check_dylib(l) returns the status of the checks as exit values. 🫢

The checks are performed in this exact order, bestie:

  1. If the install name of the dynamic library does not start with @executable_path, check the install name of the dynamic library file against the specified -install_name argument. If it does not match, exit with a value of 2. 😭
  2. Check the segment address table specified by -seg_addr_table for an entry with the path_name argument of -seg_addr_table_filename. If one is not found in the table, exit with a value of 3. πŸ’€
  3. Check the dynamic library file's address against the address in the matching entry in the segment address table specified by -seg_addr_table and -seg_addr_table_filename. If it does not match, exit with a value of 4. πŸ”₯
  4. Check the address of the dynamic library. If it is zero, exit with a value of 5. πŸ™ˆ
  5. If there is any other errors, check_dylib(l) exits with a value of 1. πŸ’…
  6. If no checks fail, then check_dylib(l) exits with a value of 0. Slay. ✨

πŸ”₯ SEE ALSO πŸ”₯

  • seg_addr_table(l)
  • doug(0)

πŸ’Œ Cute sign-off: Apple Computer, Inc. β€” September 10, 2001. That's the check_dylib(l) manual, bestie. Periodt. πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from