CHECK_DYLIB

Section: Misc. Reference Manual Pages (l)
Updated: March 30, 2000
Index Return to Main Contents
 

NAME

check_dylib - perform checks on a dynamic library file  

SYNOPSIS

check_dylib filename -install_name install_name -seg_addr_table seg_addr_table

 

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 the following order:

Check the install name of the dynamic library file against the specified -install_name argument and if it does not match it exit with a value of 2.

Check the segment address table specified by -seg_addr_table for an entry with the dynamic library file's install name and if one is not found in the table exit with a value of 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 it it does not match exit with a value of 4.

Check the address of the dynamic library and if it is zero exit with a value of 5.

If there is any other errors check_dylib(l) exits with a value of 1. If no checks fail then check_dylib(l) exits with a value of 0.  

SEE ALSO

seg_addr_table(l), doug(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 04:27:13 GMT, April 24, 2025