Skip to content

Feature survey: overlap_structure function wip #2441

@RocketMaDev

Description

@RocketMaDev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions