[DynInst_API:] Instruction::format() and negative offsets


Date: Thu, 6 Jun 2013 12:17:13 +0000
From: "E.Robbins" <er209@xxxxxxxxxx>
Subject: [DynInst_API:] Instruction::format() and negative offsets
Hi all,

I don't know if anyone is aware, but on x86 in the InstructionAPI, Instruction::format() has a bug where negative offsets are printed as large positive numbers.

Offsets in x86 are always signed, so this shouldn't be too hard to fix.

If this isn't a priority, I'll see if I can make a patch at a later time (it's not all that high a priority for me right now either), but I just thought I'd let someone know!

Best,
Ed
[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] Instruction::format() and negative offsets, E.Robbins <=