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

Feature survey: overlap_structure function wip #2441

Open
RocketMaDev opened this issue Aug 13, 2024 · 0 comments
Open

Feature survey: overlap_structure function wip #2441

RocketMaDev opened this issue Aug 13, 2024 · 0 comments
Labels

Comments

@RocketMaDev
Copy link

I have a WIP fork to add a feature of WideData exploit in FILE, and it strikes on me that I need to create a funtion to merge structures into one bytes object. For example, (in hex)

00 00 00 00 12 34 56 78
+
00 03 98 7f 00 00 00 00 00 00 00 00
+
00 00 00 00 00 00 00 00 61 61 61 61 62 62 62 62
=
00 03 98 7f 12 34 56 78 61 61 61 61 62 62 62 62

I wonder if this function is implemented somewhere? If no, I would like to write it and include it in my PR. I plan to place it in packing package. It will raise an exception if situations like 00 11 22 + 11 22 00 occur, where multiple non-zero values conflict in the same position.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant