Skip to content

Overlap 2 file pointer structures for FSOP #2634

Description

@VulnX

Often in CTFs, we may need to create 2 overlapping fake file structures and link them with the ->chain field.

The current implementation of the FileStructure class in pwntools is excellent for a single file struct, but it becomes difficult when we have overlapping structs.

Hence, it would be good if pwntools provided an automatic way to merge/overlap two FileStructure objects.

I believe I can implement this and would open a PR shortly

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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