Skip to content

Overlap 2 file pointer structures for FSOP #2634

@VulnX

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

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