#test #memory #allocator

gharial

Gharial is a test tool for program to manipulate memory directly

4 releases (2 breaking)

0.3.0 Jan 24, 2021
0.2.0 Jan 23, 2021
0.1.3 Nov 17, 2020
0.1.2 Nov 8, 2020

#84 in #allocator

49 downloads per month
Used in 2 crates

LGPL-3.0-or-later OR Apache-2.0 OR BSD-2-Clause OR MIT

2.5MB
402 lines

gharial

Gharial is a test tool for program to manipulate memory directly.

Rust usually follows the rule of RAII (Resource Acquisition is Initialization;) resources should be released on the drop, however, it is sometimes difficult to design low level code like that.

Container object, for example, sometimes allocates heap memory and build elements there. Then, the programmer could have to drop the elements and deallocate the heap manully; otherwise some trouble like memory leak could be occurred.

Gharial helps to test such program.

License: LGPL-3.0-or-later OR Apache-2.0 OR BSD-2-Clause OR MIT


lib.rs:

Gharial is a test tool for program to manipulate memory directly.

Rust usually follows the rule of RAII (Resource Acquisition is Initialization;) resources should be released on the drop, however, it is sometimes difficult to design low level code like that.

Container object, for example, sometimes allocates heap memory and build elements there. Then, the programmer could have to drop the elements and deallocate the heap manully; otherwise some trouble like memory leak could be occurred.

Gharial helps to test such program.

Dependencies

6? `