零基础课程入口,微信扫码领取课程(加入课程后添加微信进群)
Linux内核的基本架构
内核的核心功能:
流程管理
设备管理
内存管理
中断处理
块 I/O 通信
文件系统管理
Rudroid的架构
多架构多平台CPU模拟器框架
https://github.com/unicorn-engine/unicorn
https://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 -y
RUN apt install -y nano cmake
WORKDIR /setup
RUN git clone https://github.com/unicorn-engine/unicorn/
WORKDIR /setup/unicorn/
RUN ./make.sh
RUN ./make.sh install
WORKDIR /setup/
RUN git clone https://github.com/keystone-engine/keystone/
RUN mkdir build
WORKDIR /setup/keystone/build
RUN ../make-share.sh
RUN make install
RUN cp /usr/local/lib/libkeystone.so* /usr/lib/
RUN apt-get install -y clang llvm binutils-dev libunwind-dev
WORKDIR /home/
#!/bin/bash
image=Rudroid
docker build -t $image .
docker run --rm -v `pwd`:/home -v `pwd`/resources/:/resources/ -it $image bash
$ chmod +x run.sh
$ run.sh
[email protected]:/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/unicorn
https://github.com/unicorn-engine/unicorn/tree/next/bindings/rust
https://github.com/unicorn-engine/unicorn/releases
https://github.com/
https://github.com/ant4g0nist/rudroid
https://fuzzing.science/blog/Rudroid-Worlds-worst-Android-emulator
推荐阅读