jjkt / zmu

zmu - Emulator for Microcontroller Systems
Apache License 2.0
95 stars 4 forks source link

Loading rusty-clock binary fails #10

Closed jjkt closed 5 years ago

jjkt commented 5 years ago

https://github.com/TeXitoi/rusty-clock, build with cargo build --release

running the binary with

./target/release/zmu-armv7m run ../rusty-clock/target/thumbv7m-none-eabi/release/rusty-clock

yields

thread 'main' panicked at 'index 134265556 out of range for slice of length 65536', src/libcore/slice/mod.rs:2341:5

This is most likely issue with elf sections loading code in main.rs: run_bin() code