Hello,

The code below helps to find if we are running on Xen VM and uses "ud2a"
http://xen-3.1.sourcearchive.com/documentation/3.1.0/xen-detect_8c-source.html

and as expected Valgrind 3.4.1 throws the following warning:

vex x86->IR: unhandled instruction bytes: 0xF 0xB 0x78 0x65
==31055== valgrind: Unrecognised instruction at address 0x80484a2.
==31055== Your program just tried to execute an instruction that Valgrind
==31055== did not recognise.  There are two possible reasons for this.
==31055== 1. Your program has a bug and erroneously jumped to a non-code
==31055==    location.  If you are running Memcheck and you just saw a
==31055==    warning about a bad jump, it's probably your program's fault.
==31055== 2. The instruction is legitimate but Valgrind doesn't handle it,
==31055==    i.e. it's Valgrind's fault.  If you think this is the case or
==31055==    you are not sure, please let us know and we'll try to fix it.
==31055== Either way, Valgrind will now raise a SIGILL signal which will
==31055== probably kill your program.
==31055==
==31055== Process terminating with default action of signal 4 (SIGILL)
==31055==  Illegal opcode at address 0x80484A2
==31055==    at 0x80484A2: cpuid (b.c:43)
==31055==    by 0x8048601: main (b.c:91)


Is there a way to suppress this warning.

Thanks,
Madhan.
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to