Summary: | (int 3) vex x86->IR: unhandled instruction bytes: 0xCC 0x89 0xEC 0x31 | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Peter Maydell <pmaydell> |
Component: | vex | Assignee: | Julian Seward <jseward> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | njn, tom |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Bug Depends on: | |||
Bug Blocks: | 256630 | ||
Attachments: | patch to valgrind 3.2.0 to support int3 |
Description
Peter Maydell
2006-09-12 21:53:19 UTC
Created attachment 17746 [details]
patch to valgrind 3.2.0 to support int3
I had a play about with the valgrind sources, and the attached patch is the
result. It seems to work for me, and it's based on what the powerpc support
does with trap instructions, but it ought to be checked by somebody who
understands the internals of VEX. (In particular, is Dis_StopHere the right
thing, and is the state of the virtual CPU definitely properly synchronised
before we take the signal?)
This has been supported since VEX r1736 (on x86) and VEX r1741 (on amd64). |