comprehensive-rust icon indicating copy to clipboard operation
comprehensive-rust copied to clipboard

Unified FFI setup for for readdir() on macOS

Open pwnall opened this issue 2 years ago • 0 comments

This PR switches all macOS code to use the modern (introduced in macOS 10.5) ABI. I think this is a better approach than forking on the macOS platform because

  1. This makes macOS x86_64 closer to macOS aarch64, so CI (which only has x86_64) is more likely to catch bugs that would manifest on aarch64.
  2. Commenting this code lets us sneak in enough details (such as readdir$INODE64) so interested folks can research further.

pwnall avatar Jun 22 '23 15:06 pwnall