|
From: <sv...@va...> - 2008-12-04 00:05:16
|
Author: sewardj Date: 2008-12-04 00:05:12 +0000 (Thu, 04 Dec 2008) New Revision: 1875 Log: Add to the VexAbiInfo structure, two new fields: guest_amd64_assume_fs_is_zero guest_amd64_assume_gs_is_0x60 and use them to properly enable %fs/%gs prefix decoding for guest-amd64. This is needed to support amd64-darwin cleanly. Unfortunately the VexAbiInfo needs to be plumbed to every single where an address is decoded, which means the patch is vast, although very trivial. Modified: trunk/priv/guest-amd64/toIR.c trunk/priv/main/vex_main.c trunk/pub/libvex.h [... diff too large to include ...] |