[ 
https://issues.apache.org/jira/browse/TIKA-4309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17883896#comment-17883896
 ] 

ASF GitHub Bot commented on TIKA-4309:
--------------------------------------

tballison commented on PR #1963:
URL: https://github.com/apache/tika/pull/1963#issuecomment-2368463762

   Aren't the magic bits at 4096 important for jnilib? Or what is the 
difference between what we were detecting as `x-java-jnilib` and mach-O and its 
variants?
   
   ```
     <mime-type type="application/x-java-jnilib">
       <_comment>Java Native Library for OSX</_comment>
       <magic priority="50">
         <match value="0xcafebabe" type="string" offset="0">
           <match value="0xfeedface" type="string" offset="4096"/>
           <match value="0xfeedfacf" type="string" offset="4096"/>
           <match value="0xcefaedfe" type="string" offset="4096"/>
           <match value="0xcffaedfe" type="string" offset="4096"/>
         </match>
       </magic>
       <glob pattern="*.jnilib"/>
     </mime-type>
   ```




> ExecutableParser: support MachO
> -------------------------------
>
>                 Key: TIKA-4309
>                 URL: https://issues.apache.org/jira/browse/TIKA-4309
>             Project: Tika
>          Issue Type: New Feature
>            Reporter: Alexey Pelykh
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to