Skip to content

dynamic linkage checks #258

Open
Open
@errordeveloper

Description

@errordeveloper

It would be great to be able to check linkage.
It's currently possible with commandTests, but only if ldd is present (often not the case for minimal images) and it requires matching the output, which can be tricky to actually implement.

Example:

elfBinaryTests:
- name: "bash is dynamically linked"
   path: "/bin/bash"
   noMissingLibs: true
   libraries:
   - "linux-vdso.so.1"
   - "libtinfo.so.6"
   -  "libdl.so.*"
   - "libc.so.6"
   - "ld-linux-*.so.*"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions