Open trufae opened 7 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.
Moved this to the v6 - Beta
milestone. The important ones are fixed in https://github.com/capstone-engine/capstone/pull/2469. The rest should be only the missing-prototype
.
With the v6 Beta the PPC and ARM update to LLVM-18 will come. And the Auto-Sync process will be more streamlined and be reproducible. Then we can fix those.
Using gcc11.4 on linux-ppc