https://github.com/jserv/simple-dvm
A simplified educational Dalvik virtual machine implementation
https://github.com/jserv/simple-dvm
Last synced: 5 months ago
JSON representation
A simplified educational Dalvik virtual machine implementation
- Host: GitHub
- URL: https://github.com/jserv/simple-dvm
- Owner: jserv
- License: other
- Created: 2015-02-26T02:06:52.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-26T02:30:57.000Z (over 11 years ago)
- Last Synced: 2025-10-12T07:21:55.440Z (10 months ago)
- Language: C
- Size: 196 KB
- Stars: 67
- Watchers: 8
- Forks: 20
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This is a simplified Dalvik virtual machine implementation written
from scratch used for education purpose.
The `simple-dvm` is designed to be able to run Dhrystone-like java benchmark.
# How to Build
```shell
make
```
(Optional) verify the implementation:
```shell
make check
```
# How to Run
* Get DEX file of Dhrystone benchmark: [dhry.dex](https://github.com/cycheng/simple-dvm-hw3)
* Launch `simple-dvm` to execute the benchmark suite:
```shell
./simple-dvm dhry.dex
```
or in verbose mode
```shell
./simple-dvm dhry.dex 5
```
Dhrystone java source code is available: [dhry_src.jar](http://www.okayan.jp/DhrystoneApplet/dhry_src.jar)