capstone/arch/X86
Rot127 3a2cd3c331
Coverity defects (#2469)
* Fix CID 508418 - Uninitialized struct

* Fix CID 509089 - Fix OOB read and write

* Fix CID 509088 - OOB.

Also adds tests and to ensure no OOB access.

* Fix CID 509085 - Resource leak.

* Fix CID 508414 and companions - Using undefined values.

* Fix CID 508405 - Use of uninitialized value

* Remove unnecessary and badly implemented dev fuzz code.

* Fix CID 508396 - Uninitialzied variable.

* Fix CID 508393, 508365 -- OOB read.

* Fix CID 432207 - OVerlapping memory access.

* Remove unused functions

* Fix CID 432170 - Overlapping memory access.

* Fix CID 166022 - Check for negative index

* Let strncat not depend n src operand.

* Fix 509083 and 509084 - NULL dereference

* Remove duplicated code.

* Initialize sysop

* Fix resource leak

* Remove unreachable code.

* Remove duplicate code.

* Add assert to check return value of cmoack

* Fixed: d should be a signed value, since it is checked against < 0

* Add missing break.

* Add NULL check

* Fix signs of binary search comparisons.

* Add explicit cast of or result

* Fix correct scope of case.

* Handle invalid integer type.

* Return UINT_MAX instead of implicitly casted -1

* Remove dead code

* Fix type of im

* Fix type of d

* Remove duplicated code.

* Add returns after CS_ASSERTS

* Check for len == 0 case.

* Ensure shift operates on uint64

* Replace strcpy with strncpy.

* Handle edge cases for 32bit rotate

* Fix some out of enum warnings

* Replace a strcpy with strncpy.

* Fix increment of address

* Skip some linting

* Fix: set instruction id

* Remove unused enum

* Replace the last usages of strcpy with SStream functions.

* Increase number of allowed AArch64 operands.

* Check safety of incrementing t the next operand.

* Fix naming of operand

* Update python constants

* Fix option setup of CS_OPT_DETAIL_REAL

* Document DETAIL_REAL has to be used with CS_OPT_ON.

* Run Coverity scan every Monday.

* Remove dead code

* Fix OOB read

* Rename macro to reflect it is only used with sstreams

* Fix rebase issues
2024-09-18 21:19:42 +08:00
..
X86ATTInstPrinter.c Coverity defects (#2469) 2024-09-18 21:19:42 +08:00
X86BaseInfo.h sync with LLVM 7.0.1. X86 is first 2019-02-26 15:19:51 +08:00
X86Disassembler.c Fix MSVC warning overrides when using non-MSVC toolchains (#2250) 2024-01-20 21:45:21 +08:00
X86Disassembler.h sync with LLVM 7.0.1. X86 is first 2019-02-26 15:19:51 +08:00
X86DisassemblerDecoder.c fix typos (#2344) 2024-04-30 10:37:53 +08:00
X86DisassemblerDecoder.h x86: recognize xrelease lock 2019-05-14 09:59:23 +08:00
X86DisassemblerDecoderCommon.h sync with LLVM 7.0.1. X86 is first 2019-02-26 15:19:51 +08:00
X86GenAsmWriter1_reduce.inc Fix crash on x86 when building with MSVC (#2253) 2024-01-20 23:46:58 +08:00
X86GenAsmWriter1.inc Fix crash on x86 when building with MSVC (#2253) 2024-01-20 23:46:58 +08:00
X86GenAsmWriter_reduce.inc Fix crash on x86 when building with MSVC (#2253) 2024-01-20 23:46:58 +08:00
X86GenAsmWriter.inc Fix crash on x86 when building with MSVC (#2253) 2024-01-20 23:46:58 +08:00
X86GenDisassemblerTables2.inc x86: update ISA & mapping tables 2019-03-01 01:05:52 +08:00
X86GenDisassemblerTables_reduce2.inc x86: update ISA & mapping tables 2019-03-01 01:05:52 +08:00
X86GenDisassemblerTables_reduce.inc x86: update tablegen to fix MOV CRx/DRx, TEST & LOCK prefix in #1456 & #1472 2019-05-06 17:28:37 +08:00
X86GenDisassemblerTables.inc x86: update tablegen to fix MOV CRx/DRx, TEST & LOCK prefix in #1456 & #1472 2019-05-06 17:28:37 +08:00
X86GenInstrInfo_reduce.inc x86: update tablegen to fix MOV CRx/DRx, TEST & LOCK prefix in #1456 & #1472 2019-05-06 17:28:37 +08:00
X86GenInstrInfo.inc x86: update tablegen to fix MOV CRx/DRx, TEST & LOCK prefix in #1456 & #1472 2019-05-06 17:28:37 +08:00
X86GenRegisterInfo.inc AArch64 update to LLVM 18 (#2298) 2024-07-08 10:28:54 +08:00
X86GenRegisterName1.inc x86: new files X86GenRegisterName.inc & X86GenRegisterName1.inc 2019-03-04 00:56:07 +08:00
X86GenRegisterName.inc x86: new files X86GenRegisterName.inc & X86GenRegisterName1.inc 2019-03-04 00:56:07 +08:00
X86ImmSize.inc Revert "Correcting X86 Imm Size" 2021-11-14 08:50:56 +08:00
X86InstPrinter.h sync with LLVM 7.0.1. X86 is first 2019-02-26 15:19:51 +08:00
X86InstPrinterCommon.c Fix MSVC warning overrides when using non-MSVC toolchains (#2250) 2024-01-20 21:45:21 +08:00
X86InstPrinterCommon.h Avoid random access values for operands in not-yet-specified instructions. (#2259) 2024-03-21 13:33:30 +08:00
X86IntelInstPrinter.c fix typos (#2344) 2024-04-30 10:37:53 +08:00
X86Lookup16_reduce.inc x86: update tablegen to fix MOV CRx/DRx, TEST & LOCK prefix in #1456 & #1472 2019-05-06 17:28:37 +08:00
X86Lookup16.inc x86: update tablegen to fix MOV CRx/DRx, TEST & LOCK prefix in #1456 & #1472 2019-05-06 17:28:37 +08:00
X86Mapping.c Coverity defects (#2469) 2024-09-18 21:19:42 +08:00
X86Mapping.h Coverity defects (#2469) 2024-09-18 21:19:42 +08:00
X86MappingInsn_reduce.inc x86: update tablegen to fix MOV CRx/DRx, TEST & LOCK prefix in #1456 & #1472 2019-05-06 17:28:37 +08:00
X86MappingInsn.inc Fix #2128 by adding missing mapping values. (#2335) 2024-04-26 15:12:42 +08:00
X86MappingInsnName_reduce.inc x86: update ISA & mapping tables 2019-03-01 01:05:52 +08:00
X86MappingInsnName.inc x86: update ISA & mapping tables 2019-03-01 01:05:52 +08:00
X86MappingInsnOp_reduce.inc Fix access bug for TEST op (#1511) 2023-06-26 09:21:39 -07:00
X86MappingInsnOp.inc Fix #2128 by adding missing mapping values. (#2335) 2024-04-26 15:12:42 +08:00
X86MappingReg.inc x86 Fix AVX-512 k registers (#1689) 2021-03-07 21:57:14 +08:00
X86Module.c Fix #2079 via the post-printer. (#2330) 2024-04-30 10:35:40 +08:00
X86Module.h Declare global arch arrays with contents (next branch) (#1186) 2018-06-24 21:05:04 +08:00