etrace
etrace copied to clipboard
Not working on Ubuntu 17.10: outputs trash
First time I try it, terminal 1:
git checkout ab84ab90856c1c4d8b5829dc49fc07c54986c5a7
cd example
make
../src/etrace crumble
terminal 2:
cd example
./crumble
Output:
('\n \\--??',)
('\n |\t\\--??',)
Or if I use ../src/etrace.pl instead:
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 1.
\-- ???
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 2.
| \-- ???
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 3.
| | \-- ???
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 4.
| | | \-- ???
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 5.
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 6.
| | | \-- ???
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 7.
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 8.
| | | \-- ???
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 9.
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 10.
| | | \-- ???
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 11.
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 12.
| | | \-- ???
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 13.
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 14.
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 15.
| | \-- ???
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 16.
| | | \-- ???
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 17.
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 18.
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 19.
| | \-- ???
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 20.
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 21.
| | \-- ???
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 22.
| | | \-- ???
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 23.
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 24.
| | | \-- ???
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 25.
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 26.
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 27.
| | \-- ???
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 28.
| | | \-- ???
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 29.
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 30.
| | | \-- ???
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 31.
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 32.
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 33.
Hexadecimal number > 0xffffffff non-portable at ../src/etrace.pl line 109, <CALL_DATA> line 34.
I guess it's caused by ASLR because adding -no-pie to CFLAGS seems to fix it. The printout is a bit screwy, sgerwk's fork has some fixes for that.