├── .cargo └── config.toml ├── .github └── workflows │ └── ci.yml ├── .gitignore ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── fuzz ├── .gitignore ├── Cargo.lock ├── Cargo.toml └── fuzz_targets │ ├── free.rs │ ├── initialize.rs │ ├── malloc.rs │ └── memalign.rs ├── images ├── malloc-histograms.svg └── memalign-histograms.svg ├── plot.py ├── rustfmt.toml ├── src ├── block.rs ├── block │ ├── anchor.rs │ ├── common.rs │ ├── free.rs │ ├── offset.rs │ └── used.rs ├── consts.rs ├── header.rs ├── helpers.rs ├── lib.rs ├── mapping.rs ├── ops.rs └── ops │ ├── blocks.rs │ ├── coalesce.rs │ ├── free.rs │ ├── initialize.rs │ ├── malloc.rs │ ├── memalign.rs │ ├── merge.rs │ ├── pop.rs │ ├── push.rs │ ├── split.rs │ ├── unlink.rs │ └── util.rs ├── thumbv7em ├── .cargo │ └── config.toml ├── Cargo.lock ├── Cargo.toml ├── build.rs ├── examples │ ├── bench.rs │ └── global-alloc.rs ├── memory.x └── src │ ├── bin │ └── no-panics.rs │ └── lib.rs └── xtask ├── Cargo.toml └── src └── main.rs /.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/.cargo/config.toml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/.gitignore -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/README.md -------------------------------------------------------------------------------- /fuzz/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | corpus 3 | artifacts 4 | -------------------------------------------------------------------------------- /fuzz/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/fuzz/Cargo.lock -------------------------------------------------------------------------------- /fuzz/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/fuzz/Cargo.toml -------------------------------------------------------------------------------- /fuzz/fuzz_targets/free.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/fuzz/fuzz_targets/free.rs -------------------------------------------------------------------------------- /fuzz/fuzz_targets/initialize.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/fuzz/fuzz_targets/initialize.rs -------------------------------------------------------------------------------- /fuzz/fuzz_targets/malloc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/fuzz/fuzz_targets/malloc.rs -------------------------------------------------------------------------------- /fuzz/fuzz_targets/memalign.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/fuzz/fuzz_targets/memalign.rs -------------------------------------------------------------------------------- /images/malloc-histograms.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/images/malloc-histograms.svg -------------------------------------------------------------------------------- /images/memalign-histograms.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/images/memalign-histograms.svg -------------------------------------------------------------------------------- /plot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/plot.py -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/rustfmt.toml -------------------------------------------------------------------------------- /src/block.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/block.rs -------------------------------------------------------------------------------- /src/block/anchor.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/block/anchor.rs -------------------------------------------------------------------------------- /src/block/common.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/block/common.rs -------------------------------------------------------------------------------- /src/block/free.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/block/free.rs -------------------------------------------------------------------------------- /src/block/offset.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/block/offset.rs -------------------------------------------------------------------------------- /src/block/used.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/block/used.rs -------------------------------------------------------------------------------- /src/consts.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/consts.rs -------------------------------------------------------------------------------- /src/header.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/header.rs -------------------------------------------------------------------------------- /src/helpers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/helpers.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/mapping.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/mapping.rs -------------------------------------------------------------------------------- /src/ops.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/ops.rs -------------------------------------------------------------------------------- /src/ops/blocks.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/ops/blocks.rs -------------------------------------------------------------------------------- /src/ops/coalesce.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/ops/coalesce.rs -------------------------------------------------------------------------------- /src/ops/free.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/ops/free.rs -------------------------------------------------------------------------------- /src/ops/initialize.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/ops/initialize.rs -------------------------------------------------------------------------------- /src/ops/malloc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/ops/malloc.rs -------------------------------------------------------------------------------- /src/ops/memalign.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/ops/memalign.rs -------------------------------------------------------------------------------- /src/ops/merge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/ops/merge.rs -------------------------------------------------------------------------------- /src/ops/pop.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/ops/pop.rs -------------------------------------------------------------------------------- /src/ops/push.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/ops/push.rs -------------------------------------------------------------------------------- /src/ops/split.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/ops/split.rs -------------------------------------------------------------------------------- /src/ops/unlink.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/ops/unlink.rs -------------------------------------------------------------------------------- /src/ops/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/src/ops/util.rs -------------------------------------------------------------------------------- /thumbv7em/.cargo/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/thumbv7em/.cargo/config.toml -------------------------------------------------------------------------------- /thumbv7em/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/thumbv7em/Cargo.lock -------------------------------------------------------------------------------- /thumbv7em/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/thumbv7em/Cargo.toml -------------------------------------------------------------------------------- /thumbv7em/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/thumbv7em/build.rs -------------------------------------------------------------------------------- /thumbv7em/examples/bench.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/thumbv7em/examples/bench.rs -------------------------------------------------------------------------------- /thumbv7em/examples/global-alloc.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/thumbv7em/examples/global-alloc.rs -------------------------------------------------------------------------------- /thumbv7em/memory.x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/thumbv7em/memory.x -------------------------------------------------------------------------------- /thumbv7em/src/bin/no-panics.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/thumbv7em/src/bin/no-panics.rs -------------------------------------------------------------------------------- /thumbv7em/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/thumbv7em/src/lib.rs -------------------------------------------------------------------------------- /xtask/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/xtask/Cargo.toml -------------------------------------------------------------------------------- /xtask/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/japaric/tlsf/HEAD/xtask/src/main.rs --------------------------------------------------------------------------------