Open EnchantedJohn opened 6 years ago
(gdb) bt
(gdb) x/8r $pc
0x597e80 <TransformPaletteC
(gdb) i r
rax 0x0 0
rbx 0x0 0
rcx 0xd05130 13652272
rdx 0x3 3
rsi 0x100d05c40 4308622400
rdi 0xd05aa0 13654688
rbp 0x7 0x7
rsp 0x7fffffff9b60 0x7fffffff9b60
r8 0x7fffffffdd90 140737488346512
r9 0xffffffffc0000005 -1073741819
r10 0xc0000004 3221225476
r11 0x0 0
r12 0x0 0
r13 0xd05ad8 13654744
r14 0xd05aa0 13654688
r15 0x0 0
rip 0x597e80 0x597e80 <TransformPaletteC
when I used AFL, I finally found 196 crash. I think it is a very important problem. hope guys will fix it :)
the fifth error is : Starting program: /home/lx/5_7/flif/flif/src/flif -e crashes/id\:000014\,sig\:11\,src\:000110\,op\:havoc\,rep\:4 test5.flif --overwrite Warning: expected ".png", ".pnm" or ".pam" file name extension for input file, trying anyway...
Program received signal SIGSEGV, Segmentation fault. TransformPaletteC::save (this=, srcRanges=0xd05aa0, rac=...) at transform/palette_C.hpp:156
156 coder.write_int(0, srcRanges->max(p)-min-remaining, CPalette_vector[p][i]-min);