question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Decoder fails to decode a few valid AMD instructions

See original GitHub issue

Wrong destination register, should be xmm1 but it’s xmm0

660F78C1A5FD
wrong:   extrq xmm0, 0xa5, 0xfd
correct: extrq xmm1, 0xa5, 0xfd

W1 is allowed but xed can’t decode them:

8FE9F812C3 = llwpcb rbx
8FE9F812CB = slwpcb rbx

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
0xd4dcommented, Sep 13, 2018

These two instructions are a little weird, the 2nd operand is always 32-bit according to the documentation, but xed shows it as a 64-bit register:

8FEAC812C334125AA5 = lwpins rsi, rbx, 0xa55a1234
8FEAC812CB34125AA5 = lwpval rsi, rbx, 0xa55a1234
1reaction
floberndcommented, Sep 13, 2018

Jup, the destination register of extrq should be determined by modrm.rm instead of modrm.reg, as the later one must be (is forced to) zero by definition.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Base64 decode error Last unit does not have enough valid bits
I open up cer_bundle.cer and see three certificates. First two seem fine. The final certificate when put thru Base64.getDecoder().decode(myCert) ...
Read more >
How to decode a property with type… | Apple Developer Forums
Let's say I have. Customer data type which contains a metadata property that can contains any JSON dictionary in the customer object
Read more >
How to interpret decode-error code for DM365 - TI E2E
Dear all: I get some error when decode H.264 as below: Bytes ... decoder not able to find valid NAL info. and 4...
Read more >
Going Deep With Decodable - MartianCraft
Scenario 2: I want some decoding to be able to fail without bringing down the whole process, and without ending up with lots...
Read more >
json — JSON encoder and decoder — Python 3.11.1 ...
This module does not comply with the RFC in a strict fashion, implementing some extensions that are valid JavaScript but not valid JSON....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found