嵌入式技术
Linux内核的基本架构
内核的核心功能:
流程管理
设备管理
内存管理
中断处理
块 I/O 通信
文件系统管理
Rudroid的架构
多架构多平台CPU模拟器框架
https://github.com/unicorn-engine/unicornhttps://github.com/unicorn-engine/unicorn/tree/next/bindings/rust
➜ src git:(main) ✗ tree core/unicorn/ | |____| | |____unicorn_const.rs| | |____ffi.rs| | |____mod.rs| | |____arch| | | |____arm64.rs| | | |____mod.rs
FROM rust:latest
RUN apt update -yRUN apt install -y nano cmake
WORKDIR /setupRUN git clone https://github.com/unicorn-engine/unicorn/WORKDIR /setup/unicorn/RUN 。/make.shRUN 。/make.sh install
WORKDIR /setup/RUN git clone https://github.com/keystone-engine/keystone/RUN mkdir buildWORKDIR /setup/keystone/buildRUN 。./make-share.shRUN make install
RUN cp /usr/local/lib/libkeystone.so* /usr/lib/
RUN apt-get install -y clang llvm binutils-dev libunwind-devWORKDIR /home/
#!/bin/bashimage=Rudroiddocker build -t $image .docker run --rm -v `pwd`:/home -v `pwd`/resources/:/resources/ -it $image bash
$ chmod +x run.sh$ run.shroot@9346e6664ae9:/home/code#
build: RUSTFLAGS=“-L /usr/lib/ -lunicorn -L /usr/local/lib/ -lkeystone -Awarnings” cargo run -- /setup/hello /setup/rootfs/
https://github.com/unicorn-engine/unicornhttps://github.com/unicorn-engine/unicorn/tree/next/bindings/rusthttps://github.com/unicorn-engine/unicorn/releaseshttps://github.com/https://github.com/ant4g0nist/rudroidhttps://fuzzing.science/blog/Rudroid-Worlds-worst-Android-emulator
编辑:黄飞
全部0条评论
快来发表一下你的评论吧 !