[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 272971] New: ia32 valgrind doesn't support enter/leave
From:       Pierre Habouzit <madcoder () debian ! org>
Date:       2011-05-10 18:54:39
Message-ID: bug-272971-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=272971

           Summary: ia32 valgrind doesn't support enter/leave
           Product: valgrind
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: jseward@acm.org
        ReportedBy: madcoder@debian.org


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
-------------------------------

This is Debian bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=393235

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic