descriptor-y.h 219 B

123456
  1. // Given a function pointer, return the code address.
  2. // The function descriptor is actually multiple words,
  3. // but we don't care about anything except the first.
  4. #define UNWRAP_FUNCTION_DESCRIPTOR(X) (*(void **)(X))