Add launch argument parser, add debug parameter to machine

burritos now launch binary
This commit is contained in:
Quentin Legot
2023-04-06 13:27:03 +02:00
parent 2f0b9e6592
commit 9cc57e7f03
9 changed files with 459 additions and 60 deletions

View File

@ -206,7 +206,7 @@ mod test {
#[test]
fn test_thread_context() {
let mut machine = Machine::default();
let mut machine = Machine::new(true);
let (loader, ptr) = loader::Loader::new("./target/guac/halt.guac", &mut machine, 0).expect("IO Error");
let start_pc = loader.elf_header.entrypoint;