Skip to content

nab138/unxip-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unxip_rs

A library for extracting .xip files, written in Rust.

Note that it uses the cpio command. You can specify a custom path to cpio if needed. Many cpio extractors have been tested and only GNU cpio works.

Usage

fn main() {
    let mut file = File::open("./Xcode_16.3.xip").unwrap();
    let res = unxip(&mut file, &PathBuf::from("./output"), None /* Uses "cpio" from PATH */);
    if let Err(e) = res {
        eprintln!("{}", e);
    }
    println!("Done");
}

Credits

About

XIP Archive extractor in rust

Topics

Resources

Stars

Watchers

Forks

Languages