Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix hardened-binaries test for .NET 9
With .NET 9, the NativeAOT feature results in the inclusion of a few .o (object) files in the SDK. The `file` reports those as: /usr/lib64/dotnet/.../libbootstrapper.o: ELF 64-bit LSB... Which means the test then tries to check if it was linked with BIND_NOW and GNU_RELRO. That doesn't make any sense, because this isn't a shared library or an executable that the linker has run over. Fix that by skipping testing any `.o` files.
- Loading branch information