Closed Un1q32 closed 1 month ago
bump
bump 2
It's worth noting that this won't matter too much if cctools 1010.6 is merged, since it brings back Apple's otool. Would still be nice for anyone who needs 1009.2 in particular for whatever reason.
I never merged this because it could theoretically lead to a fork bomb. When the otool wrapper is installed without a host prefix it would execute itself infinitely.
I never merged this because it could theoretically lead to a fork bomb. When the otool wrapper is installed without a host prefix it would execute itself infinitely.
I don't think that would be a forkbomb, since there is no fork(), just exec(), so it wouldn't crash a system, but it's still true that it would be a bug
Yeah it just pins one cpu core until interrupted, I could mod it to use known absolute paths for otool but now that real otool sources are back in 1010.6 I don't see much point.
The main change is that it tries
otool
first, thenllvm-otool
if that fails. This fixes the otool wrapper on macOS, wherellvm-otool
isn't in PATH butotool
is.