Israeli-Alloc
Summary
A Rust library named israeli-alloc that allocates memory on a random victim program's address space, accompanied by a political statement about the Gaza crisis and a call for donations.
View Cached Full Text
Cached at: 08/23/26, 07:45 PM
0xe7f79c/israeli-alloc
Source: https://github.com/0xe7f79c/israeli-alloc
israeli-alloc
Allocate memory on a random victim program’s address space.
Israel’s horrific crimes against the Palestinians are absolutely disgusting and vile. Donate today and help a child in need.
🇵🇸 Gaza Crisis Appeal 🇵🇸
Usage:
// Optionally, you may opt out of random process picking and use your own `ProcessMemoryInfo`.
let provided_block = match israel_alloc!(5000, None) {
Some(k) => k,
None => panic!("Process may need elevated permissions before allocation."),
};
let to_write = b"FREE PALESTINE!";
match destroy_land!(
provided_block,
to_write as *const u8 as *const c_void,
to_write.len()
) {
Ok(_) => {
let base_address = provided_block.block_ptr;
let process_id = provided_block.victim_process_id;
println!(
"Memory allocated @{:?} on process-id: {}",
base_address, process_id
)
}
Err(err) => panic!("{}", err),
}
Formal Warning
This library is a research tool as well as a political statement. It is not recommended you embed this into software that is to be distributed to the public.
I am NOT responsible for any catastrophic result that results in the use of this.
Similar Articles
zalloc: Use zig allocators in your c code
zalloc replaces malloc, calloc, realloc, and free in C modules with Zig allocators, enabling Zig-style memory management in C code.
std.Io.Writer.Allocating ate all my memory
A blog post reveals a memory over-allocation bug in Zig's std.Io.Writer.Allocating due to the `drain` function incorrectly reserving space for the splat parameter on every data slice, causing unexpected memory growth.
Pony's Arena Allocator
The article describes a new arena allocator for the Pony language that addresses memory growth and performance issues found during stress testing, with a design inspired by snmalloc.
Your Rust Service Isn't Leaking — It Could Be the Allocator
This article describes a debugging journey where a Rust service's memory remained high under load despite no leaks, due to glibc's ptmalloc allocator not releasing freed memory back to the OS. It explains the allocator behavior and provides insights for Rust developers.
mimalloc: A new, high-performance, scalable memory allocator for the modern era
mimalloc is an open-source, high-performance, scalable memory allocator that serves as a drop-in replacement for malloc and free. Designed for modern highly concurrent applications and large memory scales, it is used in major services like Bing and integrated into projects such as NoGIL CPython and Unreal Engine.