Skip to content

Avoid const_cast in methods on PEDecoder #124569

@adamperlin

Description

@adamperlin

There are several methods in PEDecoder which use const_cast on this in a method marked as const. Ideally, we should refactor to remove the const_cast by adding a mutable specifier to certain fields. This came up in #124268 when adding support for loading WebCIL.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions