mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-13 13:45:16 +00:00
![Shoaib Meenai](/assets/img/avatar_default.png)
According to Microsoft's PE/COFF documentation, a SECREL relocation is "The 32-bit offset of the target from the beginning of its section". By my reading, the "from the beginning of its section" implies that the offset is unsigned. Change from an assertion to an error, since it's possible to trigger this condition normally for input files with very large sections, and we should fail gracefully for those instead of asserting. Differential Revision: https://reviews.llvm.org/D38020 llvm-svn: 313703
Description
llvm with tablegen backend for capstone disassembler
Languages
LLVM
34.8%
C++
32.8%
C
19.6%
Assembly
8.6%
MLIR
1.2%
Other
2.6%