Thanks to visit codestin.com
Credit goes to github.com

Skip to content

WASM: malloc #1540

Open
Open
@certik

Description

@certik

malloc internally is using the sbrk (or equivalent) Linux system call: https://en.wikipedia.org/wiki/Sbrk.

First I would get the .data segment to work by modifying the ELF headers, as planned in #1539 (comment). Then we can use this approach to grow it, as needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions