<div dir="ltr"><div>Hi,<br><br></div>I am looking at the "LLVMOpInfoCallback GetOpInfo" callback.<br><div><br>Example 1 GOOD:<br>41 c6 84 24 16 04 00 00 0c : movb $12, 1046(%r12)<br><br>Makes calls to the callback with:<br>
Offset = 0x4, Size = 0x4 <- Octets: 16 04 00 00 <br>Offset = 0x8, Size = 0x1 <- Octets: 0c<br></div><div>That was correct.<br><br>Example 2 BAD:<br>c7 45 98 a1 ff ff ff : movl $4294967201, -104(%rbp)<br>Makes calls to the callback with:<br>
Offset = 0x2, Size = 0x4 <- Octets: 98 a1 ff ff<br>Offset = 0x3, Size = 0x4 <- Octets: a1 ff ff ff<br></div><div>That is wrong.<br></div><div>The callbacks should be:<br>Offset = 0x2, Size = 0x1 <- Octets: 98<br>
Offset = 0x3, Size = 0x4 <- Octets: a1 ff ff ff<br><br></div>
<div>Is this a know bug?<br><br></div><div>Kind Regards<br><br></div><div>James<br><br></div></div>