Sign in
fuchsia
/
third_party
/
llvm-project
/
cd6774859ae9c5760b6543743fb2847d550f9e8a
/
.
/
llgo
/
third_party
/
gofrontend
/
libbacktrace
/
filetype.awk
blob: 0a656f75ba1f2e029785eb31427562fdd2162e91 [
file
] [
log
] [
blame
]
# 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
}
}