hoyhoy
Joined 19 years ago
Joined 19 years ago
You have to instrument every single file. It can be done in stages though. Just turn the flag on one-by-one for each file. The xnu kernel is _mostly_ instrumented with -fbounds-safety.
The metadata in Apple Photos doesn't fully sync to iOS over a cable now. Did Apple intentionally make offline sync not work to force everyone on to iCloud? Also, even the local search inside of Apple Photos doesn't work correctly either. I thought it was hilarious when they tried add "AI" to this shitshow. Apple literally can't even make a local tag search.
Isn't it possible to put all the metadata in EXIF tags? People keep telling me to use Immich, but IDK.
I love LLVM though. clang-tidy, ASAN, UBSAN, LSAN, MSAN, and TSAN are AMAZING. If you are coding C and C++ and NOT using clang-tidy, you are doing it wrong.
My biggest problem with LLVM rn is that -fbounds-safety is only available on Xcode/AppleClang and not LLVM Clang. MSAN and LSAN are only available on LLVM and not Xcode/AppleClang. Also Xcode doesn't ship clang-tidy, clang-format, or llvm-symbolizer. It's kind of a mess on macOS rn. I basically rolled my own darwin LLVM for LSAN and clang-tidy support.
The situation on Linux is even weirder. RHEL doesn't ship libcxx, but Fedora does ship it. No distro has libcxx instrumented for MSAN at the moment which means rolling your own.
What would be amazing is if some distro would just ship native LLVM with all the things working out of the box. Fedora is really close right now, but I still have to build compiler-rt manually for MSAN support..
This is sort of like the pope telling people to stop being Catholic.