> ```
> $ file /sbin/ldconfig 
> /sbin/ldconfig: ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), 
> static-pie linked, BuildID[sha1]=e524d23506ba0c75de1d253087146164328b13b8, 
> for GNU/Linux 3.2.0, stripped
> $ file /bin/file 
> /bin/file: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), 
> dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, 
> BuildID[sha1]=a32704f3e43df7519c65f06adf61d4d9bdc549bf, for GNU/Linux 3.2.0, 
> stripped
> $ file /bin/gcc
> /bin/gcc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically 
> linked, interpreter /lib64/ld-linux-x86-64.so.2, 
> BuildID[sha1]=e3a77ec7634d2b4b939b7fb62d7bcdd3860f17bf, for GNU/Linux 3.2.0, 
> stripped
> $ file /usr/lib64/guile/2.2/ccache/ice-9/readline.go 
> /usr/lib64/guile/2.2/ccache/ice-9/readline.go: ELF 64-bit LSB shared object, 
> no machine, version 1 (embedded), dynamically linked, with debug_info, not 
> stripped
> ```
> 
> Is the string `no machine` good enough for detecting Guile objects?

Not sure.  I would prefer just skipping `*.go` files entirely.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1765#issuecomment-922366738
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to