WIP: Correct all typos (#498)

This commit is contained in:
jared 2022-07-20 17:01:15 -04:00 committed by GitHub
parent 98254a7c1f
commit ed205e98a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
79 changed files with 162 additions and 162 deletions

View file

@ -120,7 +120,7 @@ ENVIRONMENT\n\
V=4 print command w/ wall+cpu+mem usage\n\
V=5 print output when exitcode is zero\n\
COLUMNS=INT explicitly set terminal width for output truncation\n\
TERM=dumb disable ansi x3.64 seuences and thousands separators\n\
TERM=dumb disable ansi x3.64 sequences and thousands separators\n\
\n"
struct Strings {

View file

@ -251,7 +251,7 @@ const struct Descriptors {
"STOS, and SCAS). In 64-bit mode, only 64-bit (RDI) and 32-bit (EDI) "
"address sizes are supported. In non-64-bit modes, only 32-bit (EDI) "
"and 16-bit (DI) address sizes are supported. The implicit ES "
"segment register cannot be overriden by a segment prefix."},
"segment register cannot be overridden by a segment prefix."},
{"Z", "r",
"The instruction has no ModR/M byte; the three least-significant "

View file

@ -24,7 +24,7 @@
#include "tool/build/lib/memory.h"
#include "tool/build/lib/pml4t.h"
struct Pml4tFormater {
struct Pml4tFormatter {
bool t;
int64_t start;
struct Buffer b;
@ -45,14 +45,14 @@ static int64_t MakeAddress(unsigned short a[4]) {
return x;
}
static void FormatStartPage(struct Pml4tFormater *pp, int64_t start) {
static void FormatStartPage(struct Pml4tFormatter *pp, int64_t start) {
pp->t = true;
pp->start = start;
if (pp->lines++) AppendChar(&pp->b, '\n');
AppendFmt(&pp->b, "%012lx-", start);
}
static void FormatEndPage(struct Pml4tFormater *pp, int64_t end) {
static void FormatEndPage(struct Pml4tFormatter *pp, int64_t end) {
int64_t size;
pp->t = false;
size = end - pp->start;
@ -67,7 +67,7 @@ static void *GetPt(struct Machine *m, uint64_t r) {
char *FormatPml4t(struct Machine *m) {
uint64_t *pd[4];
unsigned short i, a[4];
struct Pml4tFormater pp = {0};
struct Pml4tFormatter pp = {0};
unsigned short range[][2] = {{256, 512}, {0, 256}};
if ((m->mode & 3) != XED_MODE_LONG) return strdup("");
pd[0] = GetPt(m, m->cr3);

View file

@ -143,7 +143,7 @@ void OpPopZvq(struct Machine *m, uint32_t rde) {
static void OpCall(struct Machine *m, uint32_t rde, uint64_t func) {
if (!func) {
/*
* call null is technically possible but too fringe and disasterous
* call null is technically possible but too fringe and disastrous
* to accommodate at least until our debugger has rewind capability
*/
HaltMachine(m, kMachineProtectionFault);

View file

@ -367,7 +367,7 @@ bool IsParallelBuild(void) {
return (makeflags = getenv("MAKEFLAGS")) && strstr(makeflags, "-j");
}
bool ShouldRunInParralel(void) {
bool ShouldRunInParallel(void) {
return !IsWindows() && IsParallelBuild();
}