Bug 1792235 - Change ZydisAPI print LIMIT variable to 48 from 36 r=jandem

If there's something I'm missing here that's totally fine, I just keep making
this change locally and reverting it and it would be convenient to just leave
it.

Differential Revision: https://phabricator.services.mozilla.com/D158038
This commit is contained in:
Doug Thayer 2022-10-10 16:13:26 +00:00
parent 21cb412b0d
commit 9b68d17dda

View file

@ -49,8 +49,8 @@ void zydisDisassemble(const uint8_t* code, size_t codeLen,
while (ZYAN_SUCCESS(ZydisDecoderDecodeBuffer(&decoder, code + offset, length - offset,
&instruction)))
{
# define LIMIT 36
# define LIMSTR "36"
# define LIMIT 48
# define LIMSTR "48"
// We format the tag and the address and the bytes in a field of LIMIT
// characters and start the menmonic at position LIMIT. If the