CENSUS / shadow

jemalloc heap exploitation framework
Other
447 stars 69 forks source link

Looking forward to supporting more scenarios #19

Open silence-coding opened 1 year ago

silence-coding commented 1 year ago

How to analyze other processes running on linux (jemalloc)? On GitHub, I can't find any other python scripts. image

Bluekezhou commented 1 year ago

您的邮件已收到,谢谢!

silence-coding commented 1 year ago

Example:

use std::time::Duration;

#[global_allocator]
static GLOBAL: jemallocator::Jemalloc = jemallocator::Jemalloc;

fn main() {
    let mut tmp = Vec::with_capacity(1024);
    for i in 0..100000 {
        let data =vec![i;1023*100];
        tmp.extend(data);
        std::thread::sleep(Duration::from_secs(1));
    }
}