libaslrmalloc | LD_PRELOADed library to randomize malloc and friends

 by   topimiettinen C Version: Current License: No License

kandi X-RAY | libaslrmalloc Summary

kandi X-RAY | libaslrmalloc Summary

libaslrmalloc is a C library. libaslrmalloc has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

libaslrmalloc is a LD_PRELOADed library which replaces malloc() and other memory allocation functions from C library. The main design goal is not performance or memory consumption but to increase address space layout randomization (ASLR), hence the name. This is achieved by not trying to keep the pages together, forcing the kernel to map pages at random addresses and unmapping old memory immediately when possible. The amount of ALSR depends on processor type, size of allocation and possible user specified alignment (posix_memalign()). Assuming a processor with 48 bits of virtual address space (47 is available to user applications) and no extra alignment restrictions: Size | Lowest randomized bit | Total ---:|---:|---: 16 | 4 | 43 32 | 5 | 42 64 | 6 | 41 128 | 7 | 40 256 | 8 | 39 512 | 9 | 38 1024 | 10 | 37 2048 | 11 | 36 4096+ | 12 | 35. In addition, if the allocation is between the above sizes, the extra space is used to randomize the start address (within alignment restrictions). For example, 1600 bytes fit in a slab of 2048 bytes. There's extra space of 2048 - 1600 = 448 bytes to randomize the start of the allocation, but alignment needs to be taken care of as well. For 16 bytes (default) alignment, 448 / 16 = 28 different random positions are possible, yielding fractional randomization of 4.8 bits.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              libaslrmalloc has a low active ecosystem.
              It has 6 star(s) with 2 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 1 have been closed. On average issues are closed in 60 days. There are 6 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of libaslrmalloc is current.

            kandi-Quality Quality

              libaslrmalloc has no bugs reported.

            kandi-Security Security

              libaslrmalloc has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              libaslrmalloc does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              libaslrmalloc releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of libaslrmalloc
            Get all kandi verified functions for this library.

            libaslrmalloc Key Features

            No Key Features are available at this moment for libaslrmalloc.

            libaslrmalloc Examples and Code Snippets

            No Code Snippets are available at this moment for libaslrmalloc.

            Community Discussions

            No Community Discussions are available at this moment for libaslrmalloc.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install libaslrmalloc

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/topimiettinen/libaslrmalloc.git

          • CLI

            gh repo clone topimiettinen/libaslrmalloc

          • sshUrl

            git@github.com:topimiettinen/libaslrmalloc.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link