Muirey03 / Cr4shed

More useful crash logs
117 stars 25 forks source link

Please put offsets in DECIMAL, not hex #61

Open NSExceptional opened 3 years ago

NSExceptional commented 3 years ago

Offsets in the crash log should be in decimal. Don't convert them to hex. Hex makes no sense, it's supposed to be human-readable, and relevant tooling expects offsets to be in decimal

TheAwesome98-Real commented 2 years ago

um I’m pretty sure offsets are normally in hex anyway... both could be put in the report I guess but idk why you would want to disable hex

NSExceptional commented 2 years ago

Why would you WANT the offsets in hex? What are you gonna do with a hex offset?

Anyway no, you're wrong: they're in decimal so you can get an idea of how far deep it was into whatever symbol it's offset from. Not to mention tools like IDA and Hopper expect it to be in decimal (though I think Hopper will accept hex if you prefix it with 0x)

It's always [hex address] + [decimal offset] in official Darwin crash logs.

TheAwesome98-Real commented 2 years ago

hm, no idea where I heard that they’re meant to be in hex then

anyway if official Darwin crash logs use [hex]+[dec] then that’s probably what should be used in cr4shed