Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Replacement of std::malloc #6

Description

@mitinarseny

Following functions are needed to replace std::malloc:

  • malloc
  • free
  • calloc
  • realloc
  • aligned_alloc
  • malloc_usable_size
  • memalign
  • posix_memalign
  • pvalloc
  • valloc

Additionally, we should check if it is necessary to overload C++ new and delete operators (#4).

Other programs that are dynamically linked to libstdc++ may be overrode to link with our custom malloc implementation with help of dynamic override.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions