Re: [Valgrind-users] [HELP] I run the valgrind in the unreleased android version(arm32), I am confused by function stack. Can you show me why?

2018-04-04 Thread John Reiser
    printf("Done  flag:%d cmp:%d \n", flag, strcmp("", "") ); -this line is number 27 ==30141== Invalid write of size 4 ==30141== at 0x4C27CAE: strcat(strcmp.c:3) ==30141==    by 0x108871: main (testClang.c:27) ==30141==  Address 0xfeb445bc is on thread 1's stack

Re: [Valgrind-users] [HELP] I run the valgrind in the unreleased android version(arm32), I am confused by function stack. Can you show me why?

2018-04-04 Thread John Reiser
    Why I call the strcmp, but function stack show that the strcat is   called not the strcmp, but the file is belong to the function strcmp     Can you show the how to replace the strcmp with “STRCMP(VG_Z_LIBC_SONAME,  strcmp)”, and then  I can follow the code to find

Re: [Valgrind-users] [Bug] There is the bug about valgrind decode armv8 thumb instruction

2018-04-04 Thread John Reiser
    When the machine code is 0x4503,   the op is cmp,   but this is the T2 format , N bit(7-bit) is 0 ,  so   the thumb instrunction cmp-hi  is unhandled. And the decode action is failure .     The 0x4503 machine code is generate by clang4.0\5.0\6.0, the machine  cpu

[Valgrind-users] [Bug] There is the bug about valgrind decode armv8 thumb instruction

2018-04-04 Thread Wuweijia
Hi When the machine code is 0x4503, the op is cmp, but this is the T2 format , N bit(7-bit) is 0 , so the thumb instrunction cmp-hi is unhandled. And the decode action is failure . The 0x4503 machine code is generate by clang4.0\5.0\6.0, the machine cpu