Package: valgrind
Version: 1:3.2.0-2
Severity: normal

Although it seems that nobody still uses it, the ENTER instruction is
supported by all ia32 processors and valgrind chokes on it: 

vex x86->IR: unhandled instruction bytes: 0xC8 0x0 0x0 0x0
==12372== valgrind: Unrecognised instruction at address 0x8049D37.

The disassemble is:

 8049d37:       c8 00 00 00             enter  $0x0,$0x0

The program runs perfectly without valgrind

Below is a test program which triggers this error. Compile with:
$ nasm -felf test.asm
$ gcc -o test test.o
$ valgrind ./test

---------- test.asm -----------
section .text
global main

main:
        enter 0, 0
        leave
        ret
-------------------------------

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (901, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages valgrind depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries

Versions of packages valgrind recommends:
ii  gdb                        6.4.90.dfsg-1 The GNU Debugger

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to