Skip to content

Fix module logic once drgn supports library and module lookup. #74

@pcd1193182

Description

@pcd1193182

The modules PR includes the syntax to specify that certain commands should only be included if certain modules or libraries are loaded. This syntax is being added speculatively, becuase we do not yet have the ability to query the list of loaded modules or libraries. Once that functionality is present in drgn, we need to retool the logic of the modules PR to properly decide which commands to include. This should not be especially difficult; simply changing the logic in register_commands should suffice.

We can also clean up some small changes that were made to prevent crashes due to non-present types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions