Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/stabilize-M58-9334.41.0.B
/
.
/
libbacktrace
/
filetype.awk
blob: 0a656f75ba1f2e029785eb31427562fdd2162e91 [
file
] [
log
] [
blame
] [
edit
]
# 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
}
}