Skip to content

Simple proof-of-concept x86 emulator written in Rust

Notifications You must be signed in to change notification settings

Nufflee/x86-emulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

x86-emulator

x86-emulator is a simple proof-of-concept 32-bit x86 emulator written in Rust. It is an educational project with the goal of being able to run an unmodified, Linux ELF32 32-bit Hello World executable in a similar vein as EPIC OS.

This project will only ever implement a tiny subset of the x86 ISA required to accomplish the goal (and likely a bit more).

Building

Dependencies

  • Rust nightly
  • nasm

Rust nightly is required due to the use of inline assembly in certain tests. This requirement will be alliviated in the future.

Once you have installed the dependencies, simply run:

$ make run

Tests

In order to run the unit tests, use:

$ make test

Resources

About

Simple proof-of-concept x86 emulator written in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published