From c008c467dc743af4e781e8a8ff1a2621aa80958a Mon Sep 17 00:00:00 2001 From: Turo Lamminen Date: Sat, 27 Jul 2024 22:54:29 +0300 Subject: [PATCH] Fix typos in comments --- bddisasm/bdx86_decoder.c | 2 +- bddisasm/include/bdx86_tabledefs.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bddisasm/bdx86_decoder.c b/bddisasm/bdx86_decoder.c index abdae82..5bd2207 100644 --- a/bddisasm/bdx86_decoder.c +++ b/bddisasm/bdx86_decoder.c @@ -1894,7 +1894,7 @@ NdParseOperand( // Fill in branch information. Instrux->BranchInfo.IsBranch = 1; Instrux->BranchInfo.IsConditional = Instrux->Category == ND_CAT_COND_BR; - // Indirect branches are those which get their target address from a register or memory, including RET familly. + // Indirect branches are those which get their target address from a register or memory, including RET family. Instrux->BranchInfo.IsIndirect = ((!Instrux->Operands[0].Flags.IsDefault) && ((Instrux->Operands[0].Type == ND_OP_REG) || (Instrux->Operands[0].Type == ND_OP_MEM))) || (Instrux->Category == ND_CAT_RET); diff --git a/bddisasm/include/bdx86_tabledefs.h b/bddisasm/include/bdx86_tabledefs.h index d6b6724..d4c1d4c 100644 --- a/bddisasm/include/bdx86_tabledefs.h +++ b/bddisasm/include/bdx86_tabledefs.h @@ -279,7 +279,7 @@ typedef struct _ND_IDBE // -// Operand sizes descriptors. These are internal and stored inside the specifier. They must be interpreted +// Operand size descriptors. These are internal and stored inside the specifier. They must be interpreted // accordingly to extract the actual size used in the instruction. These should not be used by anyone using // the disassembler. Use the "Size" and "RawSize" fields inside the operand instead. // @@ -418,7 +418,7 @@ typedef enum _ND_OPERAND_TYPE_SPEC ND_OPT_SSP, ND_OPT_UIF, - // General Purpose REgisters. + // General Purpose Registers. ND_OPT_AH, ND_OPT_rAX, ND_OPT_rCX,