Skip to content

Add .bpl file support to the PE / DLL cataloger #4664

@StefanKB99

Description

@StefanKB99

What would you like to be added?
Please add **/*.bpl to the list of supported file extensions / globs for the PE (Portable Executable) cataloger.

Why is this needed?
Currently, when running a directory scan (syft dir:.), Syft ignores .bpl files. .bpl stands for Borland Package Library. These files are standard Windows PE/DLL files used extensively within the Delphi and C++Builder ecosystems.

Workaround / Proof of Concept:
If I manually rename a example.bpl file to example.dll before running the scan, Syft's PE cataloger successfully picks it up, analyzes the header, and extracts the metadata perfectly without any errors.

Because the underlying file format is exactly the same as a standard Windows .dll, adding the .bpl extension to the existing PE cataloger's file matching logic should be a very straightforward fix that provides out-of-the-box support for Delphi/C++Builder compiled libraries.

Additional context:

Renaming the files temporarily in a CI pipeline is a possible workaround, but native support would make scanning these environments much cleaner and less error-prone.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions