Open trufae opened 2 months ago
gcc13 reports this message ad infinitum (as well as many other warnings)
In function 'get_op_access',
inlined from 'printOperand' at arch/X86/X86ATTInstPrinter.c:575:5:
arch/X86/X86ATTInstPrinter.c:307:35: warning: writing 16 bytes into a region of size 0 [-Wstringop-overflow=]
307 | access[i] = arr[count - i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~
arch/X86/X86ATTInstPrinter.c: In function 'printOperand':
arch/X86/X86ATTInstPrinter.c:569:41: note: at offset 128 into destination object 'access' of size 6
569 | uint8_t access[CS_X86_MAXIMUM_OPERAND_SIZE];
| ^~~~~~
In function 'get_op_access',
inlined from 'printOperand' at arch/X86/X86ATTInstPrinter.c:575:5:
arch/X86/X86ATTInstPrinter.c:307:35: warning: writing 16 bytes into a region of size 0 [-Wstringop-overflow=]
307 | access[i] = arr[count - i];
| ~~~~~~~~~~^~~~~~~~~~~~~~~~
The -Wmaybe-uninitialized
is giving us false positive on some LLVM code. This is why we have disabled it.
The others are of course valid. Will add the over the next weeks.
Using gcc11.4 on linux-ppc