Sign in
llvm
/
llvm-project
/
llgo
/
a4744e474e3a21171c85f251a11e0705a663a0cc
/
.
/
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
}
}