[ 
https://issues.apache.org/jira/browse/TIKA-4313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Pelykh updated TIKA-4313:
--------------------------------
    Description: 
[https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.eheader.html]
{quote}The file format is designed to be portable among machines of various 
sizes, without imposing the sizes of the largest machine on the smallest. The 
class of the file defines the basic types used by the data structures of the 
object file container itself. The data contained in object file sections may 
follow a different programming model. If so, the processor supplement describes 
the model used.

Class {{ELFCLASS32}} supports machines with 32-bit architectures. It uses the 
basic types defined in the table labeled ``32-Bit Data Types.''

Class {{ELFCLASS64}} supports machines with 64-bit architectures. It uses the 
basic types defined in the table labeled ``64-Bit Data Types.''
{quote}
"Basic types used by the data structure" was likely misused instead of bitness 
of the target architecture of the executable file. 

  was:https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.eheader.html


> ExecutableParser: ELF byte 5 is not ARCHITECTURE but EI_CLASS
> -------------------------------------------------------------
>
>                 Key: TIKA-4313
>                 URL: https://issues.apache.org/jira/browse/TIKA-4313
>             Project: Tika
>          Issue Type: Bug
>            Reporter: Alexey Pelykh
>            Priority: Trivial
>
> [https://refspecs.linuxfoundation.org/elf/gabi4+/ch4.eheader.html]
> {quote}The file format is designed to be portable among machines of various 
> sizes, without imposing the sizes of the largest machine on the smallest. The 
> class of the file defines the basic types used by the data structures of the 
> object file container itself. The data contained in object file sections may 
> follow a different programming model. If so, the processor supplement 
> describes the model used.
> Class {{ELFCLASS32}} supports machines with 32-bit architectures. It uses the 
> basic types defined in the table labeled ``32-Bit Data Types.''
> Class {{ELFCLASS64}} supports machines with 64-bit architectures. It uses the 
> basic types defined in the table labeled ``64-Bit Data Types.''
> {quote}
> "Basic types used by the data structure" was likely misused instead of 
> bitness of the target architecture of the executable file. 



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

Reply via email to