This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In DDResultCopyExtractedURL in the DataDetectorsCore.framework, file:// URLs are sanity-checked with an assert: | |
0xCB86 loc_CB86: | |
0xCB86 lea rsi, cfstr_File ; "file://" | |
0xCB8D mov rdi, rbx | |
0xCB90 call _CFStringHasPrefix ; Check if the string starts with 'file://' | |
; Yes, this is case sensitive, which is why the test fails | |
0xCB95 test al, al | |
0xCB97 jne short loc_CBD4 ; If CFStringHasPrefix returns true, jump past the assert | |
; Otherwise, the following code triggers an assert: |