improve logging in elf
This commit is contained in:
parent
d254a6b7b6
commit
3e22884a4a
|
@ -106,9 +106,8 @@ function read_elf(buffer)
|
|||
{
|
||||
for(let key of Object.keys(header))
|
||||
{
|
||||
dbg_log(key + ": 0x" + header[key].toString(16));
|
||||
dbg_log(key + ": 0x" + (header[key].toString(16) >>> 0));
|
||||
}
|
||||
dbg_log(header);
|
||||
}
|
||||
|
||||
console.assert(header.magic === ELF_MAGIC, "Bad magic");
|
||||
|
|
Loading…
Reference in a new issue