rust-macho:用于Rust的Mach-O文件格式解析器

时间:2021-05-08 00:11:49
【文件属性】:
文件名称:rust-macho:用于Rust的Mach-O文件格式解析器
文件大小:194KB
文件格式:ZIP
更新时间:2021-05-08 00:11:49
mach-o Rust 锈男子气概 用于Rust的Mach-O文件格式解析器 用法 要使用,请在[dependencies]下将以下行添加到Cargo.toml: mach_object = " 0.1 " 或者, mach_object = { git = " https://github.com/flier/rust-macho.git " } 例子 使用OFile :: parse从&[u8]切片中读取mach-o文件。 use std :: io :: {Read, Cursor}; use std :: fs :: File; use mach_object :: {OFile, CPU_TYPE_X86_64, MachCommand, LoadCommand}; let mut f = File :: open ( "test/helloworld" ). unwrap (); let m
【文件预览】:
rust-macho-master
----.gitignore(49B)
----clippy.toml(0B)
----src()
--------testdata.rs(19KB)
--------consts.rs(45KB)
--------commands.rs(79KB)
--------errors.rs(2KB)
--------symbol.rs(9KB)
--------opcode.rs(22KB)
--------loader.rs(16KB)
--------export.rs(5KB)
--------lib.rs(2KB)
--------display.rs(26KB)
----.travis.yml(353B)
----Cargo.toml(757B)
----examples()
--------otool.rs(25KB)
----README.md(1KB)
----tests()
--------helloworld.lc(4KB)
--------Makefile(954B)
--------helloworld.universal(24KB)
--------helloworld.universal.i386.lc(4KB)
--------helloworld.c(99B)
--------helloworld(8KB)
--------helloobjc.lc(7KB)
--------hellorust(310KB)
--------helloobjc.m(159B)
--------foo.h(80B)
--------integration_tests.rs(5KB)
--------libfoo.a(2KB)
--------hellorust.rs(43B)
--------foo.m(95B)
--------hellorust.lc(7KB)
--------helloobjc(9KB)
--------helloworld.universal.x86_64.lc(4KB)
----.rustfmt.toml(37B)

网友评论