Sign in
rust
/
rust
/
833fc273a7e63edea4f44e18112facdafe9185f6
/
.
/
src
/
libbacktrace
/
filetype.awk
blob: 0a656f75ba1f2e029785eb31427562fdd2162e91 [
file
]
# An awk script to determine the type of a file.
/
\1
77ELF
\0
01
/
{
if
(
NR
==
1
)
{
print
"elf32"
;
exit
}
}
/
\1
77ELF
\0
02
/
{
if
(
NR
==
1
)
{
print
"elf64"
;
exit
}
}