runes
runes copied to clipboard
No-std NES emulator library and minimal emulator written purely in Rust.
https://github.com/Determinant/runes/blob/fd12a0a915ca52e1f65b917feb46f28194328e33/src/utils.rs#L71-L75 Hi, I consider that `load_prefix` and `save_prefix` could have unsound implementation. At line 72, users could transmute arbitrary types to byte slice. However, if the types contains padding bytes,...
Hi there, At version 0.2.5, src/mapper.rs line 585 ```rust pub fn new(cart: C) -> Self { let prg_nbank = cart.get_size(BankType::PrgRom) >> 13; let chr_nbank = cart.get_size(BankType::ChrRom) >> 10; unsafe {...
Hi there! While developing a static analyzer for Rust, we discovered another soundness issue in `runes::utils` related to integer underflow. We noticed issue #2 addresses padding bytes, and we'd like...