-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
microcorruption-dumper/pkg/mcorrupt.user.js
Lines 23 to 27 in 9bd68f9
| // cpu.memory is a sparse js 'array', let's convert it to a full 64KiB array before downloading | |
| var memory = new Uint8Array(0x10000); | |
| for (key in cpu.memory) { | |
| memory[key] = cpu.memory[key]; | |
| } |
Currently, I am converting the sparse array into a full 64KiB array before creating an ELF with it. instead, we can create a section for each set of consecutive addresses and save on filesize.
Metadata
Metadata
Assignees
Labels
No labels