Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redunant copy method from type classes #429

Merged
merged 20 commits into from
Sep 4, 2024
Merged

Conversation

rihi
Copy link
Collaborator

@rihi rihi commented Aug 8, 2024

This PR makes the rest of types (complex types) immutable and removes the redundant copy method.

@rihi rihi self-assigned this Aug 8, 2024
@rihi rihi requested a review from blattm August 22, 2024 08:10
decompiler/util/frozen_dict.py Outdated Show resolved Hide resolved
decompiler/frontend/binaryninja/handlers/types.py Outdated Show resolved Hide resolved
decompiler/structures/pseudo/typing.py Show resolved Hide resolved
decompiler/structures/pseudo/typing.py Show resolved Hide resolved
blattm and others added 4 commits August 27, 2024 13:12
Because complex types can be self-referential, by design, they cannot be immutable.
This reverts commit 64f3c8b.
Copy link
Collaborator

@blattm blattm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@blattm blattm merged commit 6a4eda6 into main Sep 4, 2024
1 check passed
@blattm blattm deleted the remove-type-copy branch September 4, 2024 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants