Skip to content

malloc.py prints incorrect address of allocated block #76

@mokenyi

Description

@mokenyi

When the -A option is used to explicitly specify the sequence of mallocs and frees, the vm-freespace/malloc.py simulation script prints the address of the header that precedes each allocated block, rather than the address of the allocated block. I think that the string printed here should insert ptr + options.headerSize instead of just ptr, like this string that is printed when the malloc/free sequence is randomised.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions