diff --git a/Makefile b/Makefile
index 231bbe11f4c011..d8fb666b983b36 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ OSTYPE := $(shell uname -s | tr '[:upper:]' '[:lower:]')
ifeq ($(findstring os/390,$OSTYPE),os/390)
OSTYPE ?= os390
endif
-ARCHTYPE := $(shell uname -m | tr '[:upper:]' '[:lower:]')
+ARCHETYPE := $(shell uname -m | tr '[:upper:]' '[:lower:]')
COVTESTS ?= test-cov
COV_SKIP_TESTS ?= core_line_numbers.js,testFinalizer.js,test_function/test.js
GTEST_FILTER ?= *
@@ -1114,9 +1114,9 @@ ifneq ($(OSTYPE),darwin)
$(warning Invalid OSTYPE)
$(error OSTYPE should be `darwin` currently is $(OSTYPE))
endif
-ifneq ($(ARCHTYPE),arm64)
- $(warning Invalid ARCHTYPE)
- $(error ARCHTYPE should be `arm64` currently is $(ARCHTYPE))
+ifneq ($(ARCHETYPE),arm64)
+ $(warning Invalid ARCHETYPE)
+ $(error ARCHETYPE should be `arm64` currently is $(ARCHETYPE))
endif
$(RM) -r $(MACOSOUTDIR)
mkdir -p $(MACOSOUTDIR)/installer/productbuild
diff --git a/SECURITY.md b/SECURITY.md
index d44018e915ee80..33e7afaa471904 100644
--- a/SECURITY.md
+++ b/SECURITY.md
@@ -17,7 +17,7 @@ issue.
If you do not receive an acknowledgement of your report within 6 business
days, or if you cannot find a private security contact for the project, you
-may escalate to the OpenJS Foundation CNA at `security@lists.openjsf.org`.
+may escalate to the OpenJS Foundation CAN at `security@lists.openjsf.org`.
If the project acknowledges your report but does not provide any further
response or engagement within 14 days, escalation is also appropriate.
diff --git a/benchmark/diagnostics_channel/http.js b/benchmark/diagnostics_channel/http.js
index caf37a05a45c3b..3a4a81d03a662a 100644
--- a/benchmark/diagnostics_channel/http.js
+++ b/benchmark/diagnostics_channel/http.js
@@ -35,21 +35,21 @@ function main({ apm, connections, duration, type, len, chunks, chunkedEnc }) {
function none() {}
function patch() {
- const als = new AsyncLocalStorage();
+ const also = new AsyncLocalStorage();
const times = [];
const { emit } = http.Server.prototype;
function wrappedEmit(...args) {
const [name, req, res] = args;
if (name === 'request') {
- als.enterWith({
+ also.enterWith({
url: req.url,
start: process.hrtime.bigint(),
});
res.on('finish', () => {
times.push({
- ...als.getStore(),
+ ...also.getStore(),
statusCode: res.statusCode,
end: process.hrtime.bigint(),
});
@@ -65,14 +65,14 @@ function patch() {
}
function diagnostics_channel() {
- const als = new AsyncLocalStorage();
+ const also = new AsyncLocalStorage();
const times = [];
const start = dc.channel('http.server.request.start');
const finish = dc.channel('http.server.response.finish');
function onStart(req) {
- als.enterWith({
+ also.enterWith({
url: req.url,
start: process.hrtime.bigint(),
});
@@ -80,7 +80,7 @@ function diagnostics_channel() {
function onFinish(res) {
times.push({
- ...als.getStore(),
+ ...also.getStore(),
statusCode: res.statusCode,
end: process.hrtime.bigint(),
});
diff --git a/benchmark/es/error-stack.js b/benchmark/es/error-stack.js
index 2cc3321640c5cd..21ee30568025d8 100644
--- a/benchmark/es/error-stack.js
+++ b/benchmark/es/error-stack.js
@@ -14,7 +14,7 @@ const bench = common.createBenchmark(main, {
n: [1e5],
});
-function runN(n, modPath) {
+function run(n, modPath) {
delete require.cache[modPath];
const mod = require(modPath);
bench.start();
@@ -28,23 +28,23 @@ function main({ n, method }) {
switch (method) {
case 'without-sourcemap':
process.setSourceMapsEnabled(false);
- runN(n, modPath);
+ run(n, modPath);
break;
case 'sourcemap':
process.setSourceMapsEnabled(true);
- runN(n, modPath);
+ run(n, modPath);
break;
case 'node-modules-without-sourcemap':
Module.setSourceMapsSupport(true, {
nodeModules: false,
});
- runN(n, nodeModulePath);
+ run(n, nodeModulePath);
break;
case 'node-modules-sourcemap':
Module.setSourceMapsSupport(true, {
nodeModules: true,
});
- runN(n, nodeModulePath);
+ run(n, nodeModulePath);
break;
default:
throw new Error(`Unexpected method "${method}"`);
diff --git a/benchmark/fixtures/alice.html b/benchmark/fixtures/alice.html
index a794e2582ae4a5..05bd48877f5120 100644
--- a/benchmark/fixtures/alice.html
+++ b/benchmark/fixtures/alice.html
@@ -836,7 +836,7 @@
A Caucus-Race and a Long Tale
and left off when they liked, so that it was not easy to know
when the race was over. However, when they had been running half
an hour or so, and were quite dry again, the Dodo suddenly called
-out 'The race is over!' and they all crowded round it, panting,
+out 'The race is over!' and they all crowded round it, painting,
and asking, 'But who has won?'
This question the Dodo could not answer without a great deal
@@ -1227,7 +1227,7 @@
The Rabbit Sends in a Little Bill
again; then the puppy began a series of short charges at the
stick, running a very little way forwards each time and a long
way back, and barking hoarsely all the while, till at last it sat
-down a good way off, panting, with its tongue hanging out of its
+down a good way off, painting, with its tongue hanging out of its
mouth, and its great eyes half shut.
This seemed to Alice a good opportunity for making her escape;
diff --git a/benchmark/fixtures/coverage-many-branches.js b/benchmark/fixtures/coverage-many-branches.js
index 9cb6360336e019..45f9c4b7f52507 100644
--- a/benchmark/fixtures/coverage-many-branches.js
+++ b/benchmark/fixtures/coverage-many-branches.js
@@ -30,7 +30,7 @@ class CoveredClass {
}
}
-// Excercise coverage of functions:
+// Exercise coverage of functions:
function add(x, y) {
const mt = new CoveredClass(x, y);
return mt.add();
diff --git a/benchmark/misc/startup-cli-version.js b/benchmark/misc/startup-cli-version.js
index a553f90621f45d..f67be6263feb42 100644
--- a/benchmark/misc/startup-cli-version.js
+++ b/benchmark/misc/startup-cli-version.js
@@ -8,7 +8,7 @@ const path = require('path');
// checked into the source code. We use --version because the output
// tends to be minimal and fewer operations are done to generate
// these so that the startup cost is still dominated by a more
-// indispensible part of the CLI.
+// indispensable part of the CLI.
// NOTE: not all tools are present in tarball hence need to filter
const availableCli = [
'tools/eslint/node_modules/eslint/bin/eslint.js',
diff --git a/benchmark/readline/readline-iterable.js b/benchmark/readline/readline-iterable.js
index 9be4ea1f52b49c..f1c50bcaf4169a 100644
--- a/benchmark/readline/readline-iterable.js
+++ b/benchmark/readline/readline-iterable.js
@@ -11,7 +11,7 @@ const bench = common.createBenchmark(main, {
const loremIpsum = `Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed
do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Dui accumsan sit amet nulla facilisi morbi tempus iaculis urna.
-Eget dolor morbi non arcu risus quis varius quam quisque.
+Eget dolor morbi non arcu risus quis various quam quisque.
Lacus viverra vitae congue eu consequat ac felis donec.
Amet porttitor eget dolor morbi non arcu.
Velit ut tortor pretium viverra suspendisse.
diff --git a/common.gypi b/common.gypi
index 953a1448d4baa5..210b6c4309522e 100644
--- a/common.gypi
+++ b/common.gypi
@@ -435,7 +435,7 @@
}],
],
}],
- # The defines bellow must include all things from the external_v8_defines
+ # The defines below must include all things from the external_v8_defines
# list in v8/BUILD.gn.
['v8_enable_v8_checks == 1', {
'defines': ['V8_ENABLE_CHECKS'],
diff --git a/deps/LIEF/include/LIEF/ART/types.hpp b/deps/LIEF/include/LIEF/ART/types.hpp
index 706e4143d08fbc..4ebb151e635e41 100644
--- a/deps/LIEF/include/LIEF/ART/types.hpp
+++ b/deps/LIEF/include/LIEF/ART/types.hpp
@@ -25,7 +25,7 @@ namespace ART {
using art_version_t = uint32_t;
-} // Namesapce ART
+} // Namespace ART
} // Namespace LIEF
#endif
diff --git a/deps/LIEF/include/LIEF/Abstract/Relocation.hpp b/deps/LIEF/include/LIEF/Abstract/Relocation.hpp
index c22f8e7a508cf6..93af4c8718a2ab 100644
--- a/deps/LIEF/include/LIEF/Abstract/Relocation.hpp
+++ b/deps/LIEF/include/LIEF/Abstract/Relocation.hpp
@@ -66,22 +66,22 @@ class LIEF_API Relocation : public Object {
void accept(Visitor& visitor) const override;
- /// Comparaison based on the Relocation's **address**
+ /// Comparison based on the Relocation's **address**
virtual bool operator<(const Relocation& rhs) const {
return address() < rhs.address();
}
- /// Comparaison based on the Relocation's **address**
+ /// Comparison based on the Relocation's **address**
virtual bool operator<=(const Relocation& rhs) const {
return !(address() > rhs.address());
}
- /// Comparaison based on the Relocation's **address**
+ /// Comparison based on the Relocation's **address**
virtual bool operator>(const Relocation& rhs) const {
return address() > rhs.address();
}
- /// Comparaison based on the Relocation's **address**
+ /// Comparison based on the Relocation's **address**
virtual bool operator>=(const Relocation& rhs) const {
return !(address() < rhs.address());
}
diff --git a/deps/LIEF/include/LIEF/COFF/Section.hpp b/deps/LIEF/include/LIEF/COFF/Section.hpp
index d70a3117adf5e2..233f998f47c59b 100644
--- a/deps/LIEF/include/LIEF/COFF/Section.hpp
+++ b/deps/LIEF/include/LIEF/COFF/Section.hpp
@@ -168,7 +168,7 @@ class LIEF_API Section : public LIEF::Section {
return symbols_;
}
- /// Return comdat infomration (only if the section has the
+ /// Return comdat information (only if the section has the
/// CHARACTERISTICS::LNK_COMDAT characteristic)
optional comdat_info() const;
diff --git a/deps/LIEF/include/LIEF/DEX/Header.hpp b/deps/LIEF/include/LIEF/DEX/Header.hpp
index b1d269f7a2119a..004b733e7bfc6b 100644
--- a/deps/LIEF/include/LIEF/DEX/Header.hpp
+++ b/deps/LIEF/include/LIEF/DEX/Header.hpp
@@ -67,7 +67,7 @@ class LIEF_API Header : public Object {
/// Size of this header. It should be 0x70
uint32_t header_size() const;
- /// File endianess of the file
+ /// File endianness of the file
uint32_t endian_tag() const;
/// Offset from the start of the file to the map list (see: DEX::MapList)
diff --git a/deps/LIEF/include/LIEF/DWARF/editor/Variable.hpp b/deps/LIEF/include/LIEF/DWARF/editor/Variable.hpp
index f9e41b209137fd..14d0f840f4fb56 100644
--- a/deps/LIEF/include/LIEF/DWARF/editor/Variable.hpp
+++ b/deps/LIEF/include/LIEF/DWARF/editor/Variable.hpp
@@ -36,7 +36,7 @@ class LIEF_API Variable {
Variable(std::unique_ptr impl);
/// Set the global address of this variable. Setting this address is only
- /// revelant in the case of a static global variable. For stack variable, you
+ /// relevant in the case of a static global variable. For stack variable, you
/// should use set_stack_offset.
///
/// This function set the `DW_AT_location` attribute
diff --git a/deps/LIEF/include/LIEF/DyldSharedCache/DyldSharedCache.hpp b/deps/LIEF/include/LIEF/DyldSharedCache/DyldSharedCache.hpp
index 26b9ca130445c0..c9a461962f32ba 100644
--- a/deps/LIEF/include/LIEF/DyldSharedCache/DyldSharedCache.hpp
+++ b/deps/LIEF/include/LIEF/DyldSharedCache/DyldSharedCache.hpp
@@ -160,21 +160,21 @@ class LIEF_API DyldSharedCache {
/// True if the subcaches are associated with this cache
bool has_subcaches() const;
- /// Return an interator over the libraries embedded in this dyld shared cache.
+ /// Return an iterator over the libraries embedded in this dyld shared cache.
///
/// This iterator implements the *random access* trait. Thus, one can use
/// iterator_range::size, iterator_range::at, iterator_range::operator[] to a
/// access Dylib at an arbitrary index:
///
/// ```cpp
- /// auto libraries = cache.libaries();
+ /// auto libraries = cache.libraries();
/// for (size_t i = 0; i < libraries.size(); ++i) {
- /// std::string path = libaries[i]->path();
+ /// std::string path = libraries[i]->path();
/// }
/// ```
dylib_iterator libraries() const;
- /// Return an interator over the mapping information of this dyld shared cache.
+ /// Return an iterator over the mapping information of this dyld shared cache.
///
/// This iterator implements the *random access* trait. Thus, one can use
/// iterator_range::size, iterator_range::at, iterator_range::operator[] to
@@ -188,7 +188,7 @@ class LIEF_API DyldSharedCache {
/// ```
mapping_info_iterator mapping_info() const;
- /// Return an interator over the subcaches associated with this (main) dyld shared
+ /// Return an iterator over the subcaches associated with this (main) dyld shared
/// cache.
///
/// This iterator implements the *random access* trait. Thus, one can use
@@ -266,7 +266,7 @@ class LIEF_API DyldSharedCache {
///
/// In the case where multiple architectures are
/// available in the \p path directory, the \p arch parameter can be used to
-/// define which architecture should be prefered.
+/// define which architecture should be preferred.
///
/// **Example:**
///
diff --git a/deps/LIEF/include/LIEF/ELF/DynamicEntryArray.hpp b/deps/LIEF/include/LIEF/ELF/DynamicEntryArray.hpp
index 9b61250e02af59..1149c8532a44a8 100644
--- a/deps/LIEF/include/LIEF/ELF/DynamicEntryArray.hpp
+++ b/deps/LIEF/include/LIEF/ELF/DynamicEntryArray.hpp
@@ -74,7 +74,7 @@ class LIEF_API DynamicEntryArray : public DynamicEntry {
/// Remove the given function
DynamicEntryArray& remove(uint64_t function);
- /// Number of function registred in this array
+ /// Number of function registered in this array
size_t size() const {
return array_.size();
}
diff --git a/deps/LIEF/include/LIEF/ELF/GnuHash.hpp b/deps/LIEF/include/LIEF/ELF/GnuHash.hpp
index 1cf07be653e7b5..8c0802678ec057 100644
--- a/deps/LIEF/include/LIEF/ELF/GnuHash.hpp
+++ b/deps/LIEF/include/LIEF/ELF/GnuHash.hpp
@@ -149,7 +149,7 @@ class LIEF_API GnuHash : public Object {
};
-} // namepsace ELF
+} // namespace ELF
} // namespace LIEF
#endif
diff --git a/deps/LIEF/include/LIEF/ELF/Header.hpp b/deps/LIEF/include/LIEF/ELF/Header.hpp
index 2ed6ca65e8d444..989ac5365dba5e 100644
--- a/deps/LIEF/include/LIEF/ELF/Header.hpp
+++ b/deps/LIEF/include/LIEF/ELF/Header.hpp
@@ -97,7 +97,7 @@ class LIEF_API Header : public Object {
FENIXOS = 16, /// FenixOS
CLOUDABI = 17, /// Nuxi CloudABI
C6000_ELFABI = 64, /// Bare-metal TMS320C6000
- AMDGPU_HSA = 64, /// AMD HSA runtime
+ AMDGPU_HSA = 64, /// AMD HAS runtime
C6000_LINUX = 65, /// Linux TMS320C6000
ARM = 97, /// ARM
STANDALONE = 255 /// Standalone (embedded) application
diff --git a/deps/LIEF/include/LIEF/ELF/Note.hpp b/deps/LIEF/include/LIEF/ELF/Note.hpp
index ae365a21d62ea3..c02cd8c40390d4 100644
--- a/deps/LIEF/include/LIEF/ELF/Note.hpp
+++ b/deps/LIEF/include/LIEF/ELF/Note.hpp
@@ -280,6 +280,6 @@ class LIEF_API Note : public Object {
LIEF_API const char* to_string(Note::TYPE type);
-} // namepsace ELF
+} // namespace ELF
} // namespace LIEF
#endif
diff --git a/deps/LIEF/include/LIEF/ELF/NoteDetails/AndroidIdent.hpp b/deps/LIEF/include/LIEF/ELF/NoteDetails/AndroidIdent.hpp
index 0bcb58854527bf..38265ffda237da 100644
--- a/deps/LIEF/include/LIEF/ELF/NoteDetails/AndroidIdent.hpp
+++ b/deps/LIEF/include/LIEF/ELF/NoteDetails/AndroidIdent.hpp
@@ -76,7 +76,7 @@ class LIEF_API AndroidIdent : public Note {
};
-} // namepsace ELF
+} // namespace ELF
} // namespace LIEF
#endif
diff --git a/deps/LIEF/include/LIEF/ELF/NoteDetails/NoteAbi.hpp b/deps/LIEF/include/LIEF/ELF/NoteDetails/NoteAbi.hpp
index aa7de8fa4b94aa..2910a9e6cb1fba 100644
--- a/deps/LIEF/include/LIEF/ELF/NoteDetails/NoteAbi.hpp
+++ b/deps/LIEF/include/LIEF/ELF/NoteDetails/NoteAbi.hpp
@@ -88,7 +88,7 @@ class LIEF_API NoteAbi : public Note {
LIEF_API const char* to_string(NoteAbi::ABI abi);
-} // namepsace ELF
+} // namespace ELF
} // namespace LIEF
#endif
diff --git a/deps/LIEF/include/LIEF/ELF/NoteDetails/NoteGnuProperty.hpp b/deps/LIEF/include/LIEF/ELF/NoteDetails/NoteGnuProperty.hpp
index 807a5703d762f6..06256145cc8b33 100644
--- a/deps/LIEF/include/LIEF/ELF/NoteDetails/NoteGnuProperty.hpp
+++ b/deps/LIEF/include/LIEF/ELF/NoteDetails/NoteGnuProperty.hpp
@@ -113,7 +113,7 @@ class LIEF_API NoteGnuProperty : public Note {
LIEF_API const char* to_string(NoteGnuProperty::Property::TYPE type);
-} // namepsace ELF
+} // namespace ELF
} // namespace LIEF
#endif
diff --git a/deps/LIEF/include/LIEF/ELF/NoteDetails/QNXStack.hpp b/deps/LIEF/include/LIEF/ELF/NoteDetails/QNXStack.hpp
index f614ab895dbc9e..1048fc5d1b03cd 100644
--- a/deps/LIEF/include/LIEF/ELF/NoteDetails/QNXStack.hpp
+++ b/deps/LIEF/include/LIEF/ELF/NoteDetails/QNXStack.hpp
@@ -65,7 +65,7 @@ class LIEF_API QNXStack : public Note {
};
-} // namepsace ELF
+} // namespace ELF
} // namespace LIEF
#endif
diff --git a/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CoreAuxv.hpp b/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CoreAuxv.hpp
index 09b4227f3846a0..bebdb162ac428e 100644
--- a/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CoreAuxv.hpp
+++ b/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CoreAuxv.hpp
@@ -114,7 +114,7 @@ class LIEF_API CoreAuxv : public Note {
LIEF_API const char* to_string(CoreAuxv::TYPE type);
-} // namepsace ELF
+} // namespace ELF
} // namespace LIEF
#endif
diff --git a/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CoreFile.hpp b/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CoreFile.hpp
index 28e968ee316f31..c3e9ec85929c4a 100644
--- a/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CoreFile.hpp
+++ b/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CoreFile.hpp
@@ -109,7 +109,7 @@ class LIEF_API CoreFile : public Note {
Header::CLASS class_ = Header::CLASS::NONE;
};
-} // namepsace ELF
+} // namespace ELF
} // namespace LIEF
#endif
diff --git a/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CorePrPsInfo.hpp b/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CorePrPsInfo.hpp
index d9af0f842b3b5d..fb9c1ae340ffaa 100644
--- a/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CorePrPsInfo.hpp
+++ b/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CorePrPsInfo.hpp
@@ -88,7 +88,7 @@ class LIEF_API CorePrPsInfo : public Note {
Header::CLASS class_ = Header::CLASS::NONE;
};
-} // namepsace ELF
+} // namespace ELF
} // namespace LIEF
#endif
diff --git a/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CorePrStatus.hpp b/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CorePrStatus.hpp
index bb91ea12f6739a..a540c18dabc290 100644
--- a/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CorePrStatus.hpp
+++ b/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CorePrStatus.hpp
@@ -195,7 +195,7 @@ LIEF_API const char* to_string(CorePrStatus::Registers::X86_64 e);
LIEF_API const char* to_string(CorePrStatus::Registers::ARM e);
LIEF_API const char* to_string(CorePrStatus::Registers::AARCH64 e);
-} // namepsace ELF
+} // namespace ELF
} // namespace LIEF
#endif
diff --git a/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CoreSigInfo.hpp b/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CoreSigInfo.hpp
index d9d3381d8b72f4..4bfa773929be37 100644
--- a/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CoreSigInfo.hpp
+++ b/deps/LIEF/include/LIEF/ELF/NoteDetails/core/CoreSigInfo.hpp
@@ -62,7 +62,7 @@ class LIEF_API CoreSigInfo : public Note {
protected:
using Note::Note;
};
-} // namepsace ELF
+} // namespace ELF
} // namespace LIEF
#endif
diff --git a/deps/LIEF/include/LIEF/ELF/Symbol.hpp b/deps/LIEF/include/LIEF/ELF/Symbol.hpp
index bfb5c226244e8e..206d8621988b5f 100644
--- a/deps/LIEF/include/LIEF/ELF/Symbol.hpp
+++ b/deps/LIEF/include/LIEF/ELF/Symbol.hpp
@@ -63,7 +63,7 @@ class LIEF_API Symbol : public LIEF::Symbol {
DEFAULT = 0, ///< Visibility is specified by binding type
INTERNAL = 1, ///< Defined by processor supplements
HIDDEN = 2, ///< Not visible to other components
- PROTECTED = 3 ///< Visible in other components but not preemptable
+ PROTECTED = 3 ///< Visible in other components but not preemptible
};
/// Special section indices
diff --git a/deps/LIEF/include/LIEF/ELF/SysvHash.hpp b/deps/LIEF/include/LIEF/ELF/SysvHash.hpp
index eaacfb1e3bc3d9..eed35f337733cb 100644
--- a/deps/LIEF/include/LIEF/ELF/SysvHash.hpp
+++ b/deps/LIEF/include/LIEF/ELF/SysvHash.hpp
@@ -84,7 +84,7 @@ class LIEF_API SysvHash : public Object {
std::vector chains_;
};
-} // namepsace ELF
+} // namespace ELF
} // namespace LIEF
#endif
diff --git a/deps/LIEF/include/LIEF/ELF/enums.hpp b/deps/LIEF/include/LIEF/ELF/enums.hpp
index a14b83f9752cbb..034751cdc091e3 100644
--- a/deps/LIEF/include/LIEF/ELF/enums.hpp
+++ b/deps/LIEF/include/LIEF/ELF/enums.hpp
@@ -177,7 +177,7 @@ enum class ARCH {
CLOUDSHIELD = 192, /**< CloudShield architecture family */
COREA_1ST = 193, /**< KIPO-KAIST Core-A 1st generation processor family */
COREA_2ND = 194, /**< KIPO-KAIST Core-A 2nd generation processor family */
- ARC_COMPACT2 = 195, /**< Synopsys ARCompact V2 */
+ ARC_COMPACT2 = 195, /**< Synopsis ARCompact V2 */
OPEN8 = 196, /**< Open8 8-bit RISC soft processor core */
RL78 = 197, /**< Renesas RL78 family */
VIDEOCORE5 = 198, /**< Broadcom VideoCore V processor */
diff --git a/deps/LIEF/include/LIEF/MachO/Binary.hpp b/deps/LIEF/include/LIEF/MachO/Binary.hpp
index 3e300093c5db53..112e6222940407 100644
--- a/deps/LIEF/include/LIEF/MachO/Binary.hpp
+++ b/deps/LIEF/include/LIEF/MachO/Binary.hpp
@@ -806,7 +806,7 @@ class LIEF_API Binary : public LIEF::Binary {
bool has_subclients() const;
- /// `true` if the binary has Dyld envrionment variables.
+ /// `true` if the binary has Dyld environment variables.
bool has_dyld_environment() const {
return dyld_environment() != nullptr;
}
diff --git a/deps/LIEF/include/LIEF/MachO/BindingInfo.hpp b/deps/LIEF/include/LIEF/MachO/BindingInfo.hpp
index 8bf7a5c6274fcb..9e1988a2081325 100644
--- a/deps/LIEF/include/LIEF/MachO/BindingInfo.hpp
+++ b/deps/LIEF/include/LIEF/MachO/BindingInfo.hpp
@@ -47,7 +47,7 @@ class LIEF_API BindingInfo : public Object {
DYLD_INFO, /// Binding associated with the Dyld info opcodes
CHAINED, /// Binding associated with the chained fixups
CHAINED_LIST, /// Internal use
- INDIRECT_SYMBOL, /// Infered from the indirect symbols table
+ INDIRECT_SYMBOL, /// Inferred from the indirect symbols table
};
BindingInfo() = default;
diff --git a/deps/LIEF/include/LIEF/MachO/DyldInfo.hpp b/deps/LIEF/include/LIEF/MachO/DyldInfo.hpp
index bbd3042337f944..8f5e34715fab7d 100644
--- a/deps/LIEF/include/LIEF/MachO/DyldInfo.hpp
+++ b/deps/LIEF/include/LIEF/MachO/DyldInfo.hpp
@@ -191,7 +191,7 @@ class LIEF_API DyldInfo : public LoadCommand {
///
/// The opcodes are a compressed way to encode the table by only
/// encoding when a column changes. In addition simple patterns
- /// like for runs of pointers initialzed to the same value can be
+ /// like for runs of pointers initialized to the same value can be
/// encoded in a few bytes.
///
/// @see ``/usr/include/mach-o/loader.h``
diff --git a/deps/LIEF/include/LIEF/MachO/FatBinary.hpp b/deps/LIEF/include/LIEF/MachO/FatBinary.hpp
index 59afbb7564bea6..421599c387de9a 100644
--- a/deps/LIEF/include/LIEF/MachO/FatBinary.hpp
+++ b/deps/LIEF/include/LIEF/MachO/FatBinary.hpp
@@ -41,7 +41,7 @@ class LIEF_API FatBinary {
public:
- /// Internal containter used to store Binary objects within a Fat Mach-O
+ /// Internal container used to store Binary objects within a Fat Mach-O
using binaries_t = std::vector>;
/// Iterator that outputs Binary&
diff --git a/deps/LIEF/include/LIEF/MachO/IndirectBindingInfo.hpp b/deps/LIEF/include/LIEF/MachO/IndirectBindingInfo.hpp
index b65a63cb6cde3d..c46ac762252c4f 100644
--- a/deps/LIEF/include/LIEF/MachO/IndirectBindingInfo.hpp
+++ b/deps/LIEF/include/LIEF/MachO/IndirectBindingInfo.hpp
@@ -24,7 +24,7 @@
namespace LIEF {
namespace MachO {
-/// This class represents a binding operation infered from the indirect symbol
+/// This class represents a binding operation inferred from the indirect symbol
/// table.
class LIEF_API IndirectBindingInfo : public BindingInfo {
friend class BinaryParser;
diff --git a/deps/LIEF/include/LIEF/MachO/LoadCommand.hpp b/deps/LIEF/include/LIEF/MachO/LoadCommand.hpp
index 5dac8aa03796ca..64e73d5b548f34 100644
--- a/deps/LIEF/include/LIEF/MachO/LoadCommand.hpp
+++ b/deps/LIEF/include/LIEF/MachO/LoadCommand.hpp
@@ -129,7 +129,7 @@ class LIEF_API LoadCommand : public Object {
return command_;
}
- /// Size of the command (should be greather than ``sizeof(load_command)``)
+ /// Size of the command (should be greater than ``sizeof(load_command)``)
uint32_t size() const {
return size_;
}
diff --git a/deps/LIEF/include/LIEF/MachO/Parser.hpp b/deps/LIEF/include/LIEF/MachO/Parser.hpp
index a33a53757d3c65..147006684a9c65 100644
--- a/deps/LIEF/include/LIEF/MachO/Parser.hpp
+++ b/deps/LIEF/include/LIEF/MachO/Parser.hpp
@@ -53,7 +53,7 @@ class LIEF_API Parser : public LIEF::Parser {
/// of the parser
///
/// @param[in] filename Path to the Mach-O file
- /// @param[in] conf Parser configuration (Defaut: ParserConfig::deep)
+ /// @param[in] conf Parser configuration (Default: ParserConfig::deep)
static std::unique_ptr parse(const std::string& filename,
const ParserConfig& conf = ParserConfig::deep());
@@ -64,7 +64,7 @@ class LIEF_API Parser : public LIEF::Parser {
/// of the parser
///
/// @param[in] data Mach-O file as a vector of bytes
- /// @param[in] conf Parser configuration (Defaut: ParserConfig::deep)
+ /// @param[in] conf Parser configuration (Default: ParserConfig::deep)
static std::unique_ptr parse(const std::vector& data,
const ParserConfig& conf = ParserConfig::deep());
diff --git a/deps/LIEF/include/LIEF/MachO/Relocation.hpp b/deps/LIEF/include/LIEF/MachO/Relocation.hpp
index 365e22e9ef2bc0..6d770bc40edbc2 100644
--- a/deps/LIEF/include/LIEF/MachO/Relocation.hpp
+++ b/deps/LIEF/include/LIEF/MachO/Relocation.hpp
@@ -87,7 +87,7 @@ class LIEF_API Relocation : public LIEF::Relocation {
return type_;
}
- /// Achitecture targeted by this relocation
+ /// Architecture targeted by this relocation
Header::CPU_TYPE architecture() const {
return architecture_;
}
diff --git a/deps/LIEF/include/LIEF/MachO/Routine.hpp b/deps/LIEF/include/LIEF/MachO/Routine.hpp
index 8bd97cc486cb4b..1e6f3448f8942c 100644
--- a/deps/LIEF/include/LIEF/MachO/Routine.hpp
+++ b/deps/LIEF/include/LIEF/MachO/Routine.hpp
@@ -27,7 +27,7 @@ namespace MachO {
class BinaryParser;
/// Class that represents the `LC_ROUTINE/LC_ROUTINE64` commands.
-/// Accodring to the Mach-O `loader.h` documentation:
+/// According to the Mach-O `loader.h` documentation:
///
/// > The routines command contains the address of the dynamic shared library
/// > initialization routine and an index into the module table for the module
diff --git a/deps/LIEF/include/LIEF/MachO/SubClient.hpp b/deps/LIEF/include/LIEF/MachO/SubClient.hpp
index c74fcc3177a42a..d396814a36e6a9 100644
--- a/deps/LIEF/include/LIEF/MachO/SubClient.hpp
+++ b/deps/LIEF/include/LIEF/MachO/SubClient.hpp
@@ -31,7 +31,7 @@ struct sub_client_command;
}
/// Class that represents the SubClient command.
-/// Accodring to the Mach-O `loader.h` documentation:
+/// According to the Mach-O `loader.h` documentation:
///
/// > For dynamically linked shared libraries that are subframework of an umbrella
/// > framework they can allow clients other than the umbrella framework or other
diff --git a/deps/LIEF/include/LIEF/MachO/SubFramework.hpp b/deps/LIEF/include/LIEF/MachO/SubFramework.hpp
index 7fd36ad03b69f6..54302490ef6649 100644
--- a/deps/LIEF/include/LIEF/MachO/SubFramework.hpp
+++ b/deps/LIEF/include/LIEF/MachO/SubFramework.hpp
@@ -32,7 +32,7 @@ struct sub_framework_command;
}
/// Class that represents the SubFramework command.
-/// Accodring to the Mach-O ``loader.h`` documentation:
+/// According to the Mach-O ``loader.h`` documentation:
///
///
/// > A dynamically linked shared library may be a subframework of an umbrella
diff --git a/deps/LIEF/include/LIEF/PE/Binary.hpp b/deps/LIEF/include/LIEF/PE/Binary.hpp
index 4a05754377c143..2bc2bcd751ae9d 100644
--- a/deps/LIEF/include/LIEF/PE/Binary.hpp
+++ b/deps/LIEF/include/LIEF/PE/Binary.hpp
@@ -228,7 +228,7 @@ class LIEF_API Binary : public LIEF::Binary {
}
/// Header that follows the header(). It is named optional from the COFF
- /// specfication but it is mandatory in a PE file.
+ /// specification but it is mandatory in a PE file.
OptionalHeader& optional_header() {
return optional_header_;
}
@@ -425,7 +425,7 @@ class LIEF_API Binary : public LIEF::Binary {
result resources_manager() const;
/// Return binary's section from its name.
- /// If the secion can't be found, return a nullptr
+ /// If the section can't be found, return a nullptr
///
/// @param[in] name Name of the Section
Section* get_section(const std::string& name) {
@@ -511,7 +511,7 @@ class LIEF_API Binary : public LIEF::Binary {
/// Return the CodeViewPDB object if present
const CodeViewPDB* codeview_pdb() const;
- /// Retrun the LoadConfiguration object or a nullptr if the binary does not
+ /// Return the LoadConfiguration object or a nullptr if the binary does not
/// use the LoadConfiguration
const LoadConfiguration* load_configuration() const {
return loadconfig_.get();
diff --git a/deps/LIEF/include/LIEF/PE/Header.hpp b/deps/LIEF/include/LIEF/PE/Header.hpp
index e598a5e9ebad5b..cfc2b68b159324 100644
--- a/deps/LIEF/include/LIEF/PE/Header.hpp
+++ b/deps/LIEF/include/LIEF/PE/Header.hpp
@@ -156,7 +156,7 @@ class LIEF_API Header : public Object {
enum class CHARACTERISTICS {
NONE = 0x0000,
RELOCS_STRIPPED = 0x0001, /**< The file does not contain base relocations and must be loaded at its preferred base. If this cannot be done, the loader will error.*/
- EXECUTABLE_IMAGE = 0x0002, /**< File is executable (i.e. no unresolved externel references). */
+ EXECUTABLE_IMAGE = 0x0002, /**< File is executable (i.e. no unresolved external references). */
LINE_NUMS_STRIPPED = 0x0004, /**< COFF line numbers have been stripped. This is deprecated and should be 0 */
LOCAL_SYMS_STRIPPED = 0x0008, /**< COFF symbol table entries for local symbols have been removed. This is deprecated and should be 0.*/
AGGRESSIVE_WS_TRIM = 0x0010, /**< Aggressively trim working set. This is deprecated and must be 0. */
diff --git a/deps/LIEF/include/LIEF/PE/LoadConfigurations/LoadConfiguration.hpp b/deps/LIEF/include/LIEF/PE/LoadConfigurations/LoadConfiguration.hpp
index c9e45c47025806..e65aac1da10e76 100644
--- a/deps/LIEF/include/LIEF/PE/LoadConfigurations/LoadConfiguration.hpp
+++ b/deps/LIEF/include/LIEF/PE/LoadConfigurations/LoadConfiguration.hpp
@@ -253,7 +253,7 @@ class LIEF_API LoadConfiguration : public Object {
return se_handler_count_;
}
- /// Return the list of the function RVA in the SEH table (if any)
+ /// Return the list of the function RVA in the SHE table (if any)
const std::vector& seh_functions() const {
return seh_rva_;
}
diff --git a/deps/LIEF/include/LIEF/PE/OptionalHeader.hpp b/deps/LIEF/include/LIEF/PE/OptionalHeader.hpp
index 0a344d45f1ea61..35d96a63540125 100644
--- a/deps/LIEF/include/LIEF/PE/OptionalHeader.hpp
+++ b/deps/LIEF/include/LIEF/PE/OptionalHeader.hpp
@@ -50,7 +50,7 @@ class LIEF_API OptionalHeader : public Object {
FORCE_INTEGRITY = 0x0080, ///< Code integrity checks are enforced.
NX_COMPAT = 0x0100, ///< Image is NX compatible.
NO_ISOLATION = 0x0200, ///< Isolation aware, but do not isolate the image.
- NO_SEH = 0x0400, ///< Does not use structured exception handling (SEH). No SEH handler may be called in this image.
+ NO_SEH = 0x0400, ///< Does not use structured exception handling (SHE). No SHE handler may be called in this image.
NO_BIND = 0x0800, ///< Do not bind the image.
APPCONTAINER = 0x1000, ///< Image should execute in an AppContainer.
WDM_DRIVER = 0x2000, ///< A WDM driver.
@@ -63,7 +63,7 @@ class LIEF_API OptionalHeader : public Object {
NATIVE = 1, ///< Device drivers and native Windows processes
WINDOWS_GUI = 2, ///< The Windows GUI subsystem.
WINDOWS_CUI = 3, ///< The Windows character subsystem.
- OS2_CUI = 5, ///< The OS/2 character subsytem.
+ OS2_CUI = 5, ///< The OS/2 character subsystem.
POSIX_CUI = 7, ///< The POSIX character subsystem.
NATIVE_WINDOWS = 8, ///< Native Windows 9x driver.
WINDOWS_CE_GUI = 9, ///< Windows CE.
diff --git a/deps/LIEF/include/LIEF/PE/ResourceData.hpp b/deps/LIEF/include/LIEF/PE/ResourceData.hpp
index 3c2dd5e56e225a..8853c0380eff76 100644
--- a/deps/LIEF/include/LIEF/PE/ResourceData.hpp
+++ b/deps/LIEF/include/LIEF/PE/ResourceData.hpp
@@ -136,5 +136,5 @@ class LIEF_API ResourceData : public ResourceNode {
};
} // namespace PE
-} // namepsace LIEF
+} // namespace LIEF
#endif /* RESOURCEDATA_H */
diff --git a/deps/LIEF/include/LIEF/PE/ResourcesManager.hpp b/deps/LIEF/include/LIEF/PE/ResourcesManager.hpp
index 6ad660fc6529b1..313f6479c5ebe0 100644
--- a/deps/LIEF/include/LIEF/PE/ResourcesManager.hpp
+++ b/deps/LIEF/include/LIEF/PE/ResourcesManager.hpp
@@ -158,7 +158,7 @@ class LIEF_API ResourcesManager : public Object {
return get_node_type(TYPE::VERSION) != nullptr;
}
- /// Return a list of verison info (`VS_VERSIONINFO`).
+ /// Return a list of version info (`VS_VERSIONINFO`).
std::vector version() const;
/// `true` if resources contain a LIEF::PE::ResourceIcon
diff --git a/deps/LIEF/include/LIEF/PE/exceptions_info/RuntimeFunctionX64.hpp b/deps/LIEF/include/LIEF/PE/exceptions_info/RuntimeFunctionX64.hpp
index 2fb4339a2c3eff..77b29c967cc84e 100644
--- a/deps/LIEF/include/LIEF/PE/exceptions_info/RuntimeFunctionX64.hpp
+++ b/deps/LIEF/include/LIEF/PE/exceptions_info/RuntimeFunctionX64.hpp
@@ -108,7 +108,7 @@ class LIEF_API RuntimeFunctionX64 : public ExceptionInfo {
/// unwind operation code slots, as described in the note above.
SAVE_NONVOL_FAR = 5,
- /// This entry is only revelant for version 2. It describes the function
+ /// This entry is only relevant for version 2. It describes the function
/// epilog.
EPILOG = 6,
diff --git a/deps/LIEF/include/LIEF/PE/signature/x509.hpp b/deps/LIEF/include/LIEF/PE/signature/x509.hpp
index 8f96d92f3f1532..48d87937c1d779 100644
--- a/deps/LIEF/include/LIEF/PE/signature/x509.hpp
+++ b/deps/LIEF/include/LIEF/PE/signature/x509.hpp
@@ -138,10 +138,10 @@ class LIEF_API x509 : public Object {
/// End time of certificate validity
date_t valid_to() const;
- /// Issuer informations
+ /// Issuer information
std::string issuer() const;
- /// Subject informations
+ /// Subject information
std::string subject() const;
/// Try to decrypt the given signature and check if it matches the given hash according to
diff --git a/deps/LIEF/include/LIEF/asm/Instruction.hpp b/deps/LIEF/include/LIEF/asm/Instruction.hpp
index 7570af8fc61773..a920c0855770c0 100644
--- a/deps/LIEF/include/LIEF/asm/Instruction.hpp
+++ b/deps/LIEF/include/LIEF/asm/Instruction.hpp
@@ -123,7 +123,7 @@ class LIEF_API Instruction {
bool is_trap() const;
/// True if the instruction prevents executing the instruction
- /// that immediatly follows the current. This includes return
+ /// that immediately follows the current. This includes return
/// or unconditional branch instructions
bool is_barrier() const;
diff --git a/deps/LIEF/include/LIEF/asm/mips/opcodes.hpp b/deps/LIEF/include/LIEF/asm/mips/opcodes.hpp
index 41532b8f1cf62a..d7b08e8d96edb8 100644
--- a/deps/LIEF/include/LIEF/asm/mips/opcodes.hpp
+++ b/deps/LIEF/include/LIEF/asm/mips/opcodes.hpp
@@ -2538,7 +2538,7 @@ enum class OPCODE {
SEB = 2514,
SEB64 = 2515,
SEB_MM = 2516,
- SEH = 2517,
+ SHE = 2517,
SEH64 = 2518,
SEH_MM = 2519,
SELEQZ = 2520,
@@ -2846,7 +2846,7 @@ enum class OPCODE {
TEQI = 2822,
TEQI_MM = 2823,
TEQ_MM = 2824,
- TGE = 2825,
+ THE = 2825,
TGEI = 2826,
TGEIU = 2827,
TGEIU_MM = 2828,
@@ -2885,7 +2885,7 @@ enum class OPCODE {
TLTU = 2861,
TLTU_MM = 2862,
TLT_MM = 2863,
- TNE = 2864,
+ THE = 2864,
TNEI = 2865,
TNEI_MM = 2866,
TNE_MM = 2867,
diff --git a/deps/LIEF/include/LIEF/asm/powerpc/opcodes.hpp b/deps/LIEF/include/LIEF/asm/powerpc/opcodes.hpp
index e0b6d5dff13a30..c364cff957e83a 100644
--- a/deps/LIEF/include/LIEF/asm/powerpc/opcodes.hpp
+++ b/deps/LIEF/include/LIEF/asm/powerpc/opcodes.hpp
@@ -799,7 +799,7 @@ enum class OPCODE {
DIEXQ_rec = 775,
DIEX_rec = 776,
DIVD = 777,
- DIVDE = 778,
+ DIVIDE = 778,
DIVDEO = 779,
DIVDEO_rec = 780,
DIVDEU = 781,
@@ -2458,7 +2458,7 @@ enum class OPCODE {
VNEGW = 2434,
VNMSUBFP = 2435,
VNOR = 2436,
- VOR = 2437,
+ FOR = 2437,
VORC = 2438,
VPDEPD = 2439,
VPERM = 2440,
diff --git a/deps/LIEF/include/LIEF/asm/x86/opcodes.hpp b/deps/LIEF/include/LIEF/asm/x86/opcodes.hpp
index 361ec8c0cf44cc..33e9d5f564ea0d 100644
--- a/deps/LIEF/include/LIEF/asm/x86/opcodes.hpp
+++ b/deps/LIEF/include/LIEF/asm/x86/opcodes.hpp
@@ -1510,7 +1510,7 @@ enum class OPCODE {
CVTTSS2SIrr_Int = 1486,
CWD = 1487,
CWDE = 1488,
- DAA = 1489,
+ DATA = 1489,
DAS = 1490,
DATA16_PREFIX = 1491,
DEC16m = 1492,
diff --git a/deps/LIEF/include/LIEF/asm/x86/registers.hpp b/deps/LIEF/include/LIEF/asm/x86/registers.hpp
index db241f0a09d7f2..d2bf97a394e42e 100644
--- a/deps/LIEF/include/LIEF/asm/x86/registers.hpp
+++ b/deps/LIEF/include/LIEF/asm/x86/registers.hpp
@@ -61,14 +61,14 @@ enum class REG {
FS_BASE = 37,
GS = 38,
GS_BASE = 39,
- HAX = 40,
+ HEX = 40,
HBP = 41,
HBX = 42,
HCX = 43,
HDI = 44,
HDX = 45,
HIP = 46,
- HSI = 47,
+ HIS = 47,
HSP = 48,
IP = 49,
MXCSR = 50,
diff --git a/deps/LIEF/include/LIEF/third-party/internal/expected.hpp b/deps/LIEF/include/LIEF/third-party/internal/expected.hpp
index 06e6dc4f6c7761..5c79692b1e1b12 100644
--- a/deps/LIEF/include/LIEF/third-party/internal/expected.hpp
+++ b/deps/LIEF/include/LIEF/third-party/internal/expected.hpp
@@ -217,7 +217,7 @@ unexpected::type> make_unexpected(E &&e) {
struct unexpect_t {
unexpect_t() = default;
};
-static constexpr unexpect_t unexpect{};
+static constexpr unexpect_t unexpected{};
namespace detail {
template
@@ -1589,7 +1589,7 @@ class TL_EXPECTED_NODISCARD expected :
detail::enable_if_t::value> * =
nullptr>
explicit constexpr expected(const unexpected &e)
- : impl_base(unexpect, e.value()),
+ : impl_base(unexpected, e.value()),
ctor_base(detail::default_constructor_tag{}) {}
template <
@@ -1598,7 +1598,7 @@ class TL_EXPECTED_NODISCARD expected :
nullptr,
detail::enable_if_t::value> * = nullptr>
constexpr expected(unexpected const &e)
- : impl_base(unexpect, e.value()),
+ : impl_base(unexpected, e.value()),
ctor_base(detail::default_constructor_tag{}) {}
template <
@@ -1607,7 +1607,7 @@ class TL_EXPECTED_NODISCARD expected :
detail::enable_if_t::value> * = nullptr>
explicit constexpr expected(unexpected &&e) noexcept(
std::is_nothrow_constructible::value)
- : impl_base(unexpect, std::move(e.value())),
+ : impl_base(unexpected, std::move(e.value())),
ctor_base(detail::default_constructor_tag{}) {}
template <
@@ -1616,14 +1616,14 @@ class TL_EXPECTED_NODISCARD expected :
detail::enable_if_t::value> * = nullptr>
constexpr expected(unexpected &&e) noexcept(
std::is_nothrow_constructible::value)
- : impl_base(unexpect, std::move(e.value())),
+ : impl_base(unexpected, std::move(e.value())),
ctor_base(detail::default_constructor_tag{}) {}
template ::value> * =
nullptr>
constexpr explicit expected(unexpect_t, Args &&...args)
- : impl_base(unexpect, std::forward(args)...),
+ : impl_base(unexpected, std::forward(args)...),
ctor_base(detail::default_constructor_tag{}) {}
template &, Args &&...>::value> * = nullptr>
constexpr explicit expected(unexpect_t, std::initializer_list il,
Args &&...args)
- : impl_base(unexpect, il, std::forward(args)...),
+ : impl_base(unexpected, il, std::forward(args)...),
ctor_base(detail::default_constructor_tag{}) {}
template (f), *std::forward(exp))
- : Ret(unexpect, std::forward(exp).error());
+ : Ret(unexpected, std::forward(exp).error());
}
template ::value, "F must return an expected");
return exp.has_value() ? detail::invoke(std::forward(f))
- : Ret(unexpect, std::forward(exp).error());
+ : Ret(unexpected, std::forward(exp).error());
}
#else
template struct TC;
@@ -2118,7 +2118,7 @@ auto and_then_impl(Exp &&exp, F &&f) -> Ret {
return exp.has_value()
? detail::invoke(std::forward(f), *std::forward(exp))
- : Ret(unexpect, std::forward(exp).error());
+ : Ret(unexpected, std::forward(exp).error());
}
template Ret {
static_assert(detail::is_expected::value, "F must return an expected");
return exp.has_value() ? detail::invoke(std::forward(f))
- : Ret(unexpect, std::forward(exp).error());
+ : Ret(unexpected, std::forward(exp).error());
}
#endif
@@ -2142,7 +2142,7 @@ constexpr auto expected_map_impl(Exp &&exp, F &&f) {
using result = ret_t>;
return exp.has_value() ? result(detail::invoke(std::forward(f),
*std::forward(exp)))
- : result(unexpect, std::forward(exp).error());
+ : result(unexpected, std::forward(exp).error());
}
template (exp).error());
+ return result(unexpected, std::forward(exp).error());
}
template >;
return exp.has_value() ? result(detail::invoke(std::forward(f)))
- : result(unexpect, std::forward(exp).error());
+ : result(unexpected, std::forward(exp).error());
}
template (exp).error());
+ return result(unexpected, std::forward(exp).error());
}
#else
template (f),
*std::forward(exp)))
- : result(unexpect, std::forward(exp).error());
+ : result(unexpected, std::forward(exp).error());
}
template >;
return exp.has_value() ? result(detail::invoke(std::forward(f)))
- : result(unexpect, std::forward(exp).error());
+ : result(unexpected, std::forward(exp).error());
}
template , detail::decay_t>;
return exp.has_value()
? result(*std::forward(exp))
- : result(unexpect, detail::invoke(std::forward(f),
+ : result(unexpected, detail::invoke(std::forward(f),
std::forward(exp).error()));
}
template (f), std::forward(exp).error());
- return result(unexpect, monostate{});
+ return result(unexpected, monostate{});
}
template >::value> * = nullptr,
@@ -2279,7 +2279,7 @@ constexpr auto map_error_impl(Exp &&exp, F &&f) {
using result = expected, detail::decay_t>;
return exp.has_value()
? result()
- : result(unexpect, detail::invoke(std::forward(f),
+ : result(unexpected, detail::invoke(std::forward(f),
std::forward(exp).error()));
}
template (f), std::forward(exp).error());
- return result(unexpect, monostate{});
+ return result(unexpected, monostate{});
}
#else
template (exp))
- : result(unexpect, detail::invoke(std::forward(f),
+ : result(unexpected, detail::invoke(std::forward(f),
std::forward(exp).error()));
}
@@ -2324,7 +2324,7 @@ auto map_error_impl(Exp &&exp, F &&f) -> expected, monostate> {
}
detail::invoke(std::forward(f), std::forward(exp).error());
- return result(unexpect, monostate{});
+ return result(unexpected, monostate{});
}
template (f),
+ : result(unexpected, detail::invoke(std::forward(f),
std::forward(exp).error()));
}
@@ -2354,7 +2354,7 @@ auto map_error_impl(Exp &&exp, F &&f) -> expected, monostate> {
}
detail::invoke(std::forward(f), std::forward(exp).error());
- return result(unexpect, monostate{});
+ return result(unexpected, monostate{});
}
#endif
diff --git a/deps/LIEF/src/DEX/File.cpp b/deps/LIEF/src/DEX/File.cpp
index 54c5ebfacc5a7b..bd83052f9f7920 100644
--- a/deps/LIEF/src/DEX/File.cpp
+++ b/deps/LIEF/src/DEX/File.cpp
@@ -164,7 +164,7 @@ std::vector File::raw(bool deoptimize) const {
case OPCODES::OP_IPUT_QUICK:
{
LIEF_TRACE("{}.{}", method->cls()->fullname(), method->name());
- LIEF_TRACE("[{:06x}] iput-quick -> iput@{:d}", dex_pc, value);
+ LIEF_TRACE("[{:06x}] input-quick -> input@{:d}", dex_pc, value);
if (static_cast(value) == -1) {
LIEF_WARN("Unable to resolve instruction: {}.{} at 0x{:04x} (iput-quick)",
method->cls()->fullname(), method->name(), dex_pc);
diff --git a/deps/LIEF/src/ELF/Binary.cpp b/deps/LIEF/src/ELF/Binary.cpp
index 7196e3ccff09ce..0911c5d9750cb1 100644
--- a/deps/LIEF/src/ELF/Binary.cpp
+++ b/deps/LIEF/src/ELF/Binary.cpp
@@ -1023,7 +1023,7 @@ bool Binary::is_pie() const {
}
/* If the ELF binary uses an interpreter, then it is position
- * independant since the interpreter aims at loading the binary at a random base address
+ * independent since the interpreter aims at loading the binary at a random base address
*/
if (it_segment != std::end(segments_)) {
return true;
@@ -1033,7 +1033,7 @@ bool Binary::is_pie() const {
* the case, for instance, when compiling with the -static-pie flag
*
* While header().file_type() == E_TYPE::ET_DYN is a requirement
- * for PIC binary (Position independant **CODE**), it does not enable
+ * for PIC binary (Position independent **CODE**), it does not enable
* to distinguish PI **Executables** from libraries.
*
* Therefore, we add the following checks:
diff --git a/deps/LIEF/src/ELF/Builder.tcc b/deps/LIEF/src/ELF/Builder.tcc
index 11aeb061c71691..4b1f18c5fd04af 100644
--- a/deps/LIEF/src/ELF/Builder.tcc
+++ b/deps/LIEF/src/ELF/Builder.tcc
@@ -424,7 +424,7 @@ ok_error_t Builder::build_exe_lib() {
}
// ----------------------------------------------------------------
- // At this point all the VAs are consistent with the new layout
+ // At this point all the was are consistent with the new layout
// and we have enough space to write ELF elements
// ----------------------------------------------------------------
diff --git a/deps/LIEF/src/ELF/ExeLayout.hpp b/deps/LIEF/src/ELF/ExeLayout.hpp
index f9a39e10e54569..32bd3d39a05415 100644
--- a/deps/LIEF/src/ELF/ExeLayout.hpp
+++ b/deps/LIEF/src/ELF/ExeLayout.hpp
@@ -1649,7 +1649,7 @@ class LIEF_LOCAL ExeLayout : public Layout {
std::string sec_name = *section_res;
// If the binary has the note type but does not have
- // the section (likly because the user added the note manually)
+ // the section (likely because the user added the note manually)
// then, create the section
if (const Section* nsec = binary_->get_section(*section_res);
nsec == nullptr)
diff --git a/deps/LIEF/src/ELF/Parser.cpp b/deps/LIEF/src/ELF/Parser.cpp
index 977631337d4ae9..32c4635f228447 100644
--- a/deps/LIEF/src/ELF/Parser.cpp
+++ b/deps/LIEF/src/ELF/Parser.cpp
@@ -94,7 +94,7 @@ Header::ELF_DATA determine_elf_endianess(ARCH machine) {
}
/*
- * Get the endianess of the current architecture
+ * Get the endianness of the current architecture
*/
constexpr Header::ELF_DATA get_endianess() {
#ifdef __BYTE_ORDER__
@@ -150,7 +150,7 @@ Header::ELF_DATA determine_elf_endianess(BinaryStream& stream) {
// } ElfN_Ehdr;
constexpr size_t e_machine_off = offsetof(details::Elf32_Ehdr, e_machine);
{
- // Read Machine type with both endianess
+ // Read Machine type with both endianness
ARCH machine = ARCH::NONE; // e_machine value without endian swap enabled
ARCH machine_swap = ARCH::NONE; // e_machine value with endian swap enabled
if (auto res = stream.peek(e_machine_off)) {
diff --git a/deps/LIEF/src/ELF/Parser.tcc b/deps/LIEF/src/ELF/Parser.tcc
index 03c2c5e77a045c..4244b53b8a57c6 100644
--- a/deps/LIEF/src/ELF/Parser.tcc
+++ b/deps/LIEF/src/ELF/Parser.tcc
@@ -895,7 +895,7 @@ ok_error_t Parser::parse_segments() {
for (size_t i = 0; i < nbof_segments; ++i) {
const auto elf_phdr = stream_->read();
if (!elf_phdr) {
- LIEF_ERR("Can't parse segement #{:d}", i);
+ LIEF_ERR("Can't parse segment #{:d}", i);
break;
}
diff --git a/deps/LIEF/src/MachO/Binary.cpp b/deps/LIEF/src/MachO/Binary.cpp
index f4b92f1d97aa7f..4743edc536a9bd 100644
--- a/deps/LIEF/src/MachO/Binary.cpp
+++ b/deps/LIEF/src/MachO/Binary.cpp
@@ -1673,7 +1673,7 @@ LoadCommand* Binary::add(const SegmentCommand& segment) {
}
size_t Binary::add_cached_segment(SegmentCommand& segment) {
- // The new segement should be put **before** the __LINKEDIT segment
+ // The new segment should be put **before** the __LINKEDIT segment
const auto it_linkedit = std::find_if(std::begin(segments_), std::end(segments_),
[] (SegmentCommand* cmd) { return cmd->name() == "__LINKEDIT"; });
@@ -2578,7 +2578,7 @@ bool Binary::can_cache_segment(const SegmentCommand& segment) {
if (segment.name() == "__TEXT") {
// In some cases (c.f. /MachO/issue_1130.macho)
// the __TEXT segment can have a file_size set to 0 while it is logically
- // revelant to cache it
+ // relevant to cache it
return true;
}
diff --git a/deps/LIEF/src/MachO/BinaryParser.tcc b/deps/LIEF/src/MachO/BinaryParser.tcc
index bbdfabc93c1254..ff8a6c4d1a54f9 100644
--- a/deps/LIEF/src/MachO/BinaryParser.tcc
+++ b/deps/LIEF/src/MachO/BinaryParser.tcc
@@ -1843,7 +1843,7 @@ ok_error_t BinaryParser::parse_dyldinfo_generic_bind() {
}
case DyldInfo::BIND_SUBOPCODE_THREADED::SET_BIND_ORDINAL_TABLE_SIZE_ULEB:
{
- // Maxium number of elements according to dyld's MachOAnalyzer.cpp
+ // Maximum number of elements according to dyld's MachOAnalyzer.cpp
static constexpr size_t MAX_COUNT = 65535;
auto val = stream_->read_uleb128();
if (!val) {
@@ -2437,7 +2437,7 @@ ok_error_t BinaryParser::do_rebase(uint8_t type, uint8_t segment_idx, uint64_t s
default:
{
- LIEF_ERR("Unsuported relocation type: 0x{:x}", type);
+ LIEF_ERR("Unsupported relocation type: 0x{:x}", type);
}
}
// Check if a relocation already exists:
diff --git a/deps/LIEF/src/MachO/DyldInfo.cpp b/deps/LIEF/src/MachO/DyldInfo.cpp
index 8fef588f9ce094..48b27e67acdf8b 100644
--- a/deps/LIEF/src/MachO/DyldInfo.cpp
+++ b/deps/LIEF/src/MachO/DyldInfo.cpp
@@ -1861,7 +1861,7 @@ DyldInfo& DyldInfo::update_standard_bindings_v2(const DyldInfo::bind_container_t
address = info->address();
SegmentCommand* segment = info->segment();
if (segment == nullptr) {
- LIEF_ERR("Can't find the segment associated with the binding info. Can't udpate binding v2");
+ LIEF_ERR("Can't find the segment associated with the binding info. Can't update binding v2");
return *this;
}
size_t index = segment->index();
diff --git a/deps/LIEF/src/MachO/FunctionVariants.cpp b/deps/LIEF/src/MachO/FunctionVariants.cpp
index 0b6e464565a2e7..86941912e2e8b7 100644
--- a/deps/LIEF/src/MachO/FunctionVariants.cpp
+++ b/deps/LIEF/src/MachO/FunctionVariants.cpp
@@ -137,12 +137,12 @@ std::string FunctionVariants::RuntimeTableEntry::to_string() const {
oss << " 00: default";
} else {
std::vector raw;
- std::vector formated;
+ std::vector formatted;
for (FLAGS f : flags) {
raw.push_back(get_raw(f));
- formated.push_back(pretty_name(f));
+ formatted.push_back(pretty_name(f));
}
- oss << fmt::format(" {:02x}: {}", fmt::join(raw, " "), fmt::join(formated, ", "));
+ oss << fmt::format(" {:02x}: {}", fmt::join(raw, " "), fmt::join(formatted, ", "));
}
return oss.str();
diff --git a/deps/LIEF/src/MachO/exports_trie.cpp b/deps/LIEF/src/MachO/exports_trie.cpp
index 1bd46e3d2a5d73..1dce84da06cf34 100644
--- a/deps/LIEF/src/MachO/exports_trie.cpp
+++ b/deps/LIEF/src/MachO/exports_trie.cpp
@@ -112,7 +112,7 @@ void show_trie(std::ostream& output, std::string output_prefix,
}
//if (!binary_->has_symbol(symbol_name)) {
- // output << " [NOT REGISTRED]";
+ // output << " [NOT REGISTERED]";
//}
output << "}";
@@ -164,7 +164,7 @@ std::vector create_trie(const exports_list_t& exports, size_t pointer_s
std::unique_ptr start = TrieNode::create("");
std::vector> nodes;
- // Build the tree adding every symbole to the root.
+ // Build the tree adding every symbol to the root.
TrieNode* start_ptr = start.get();
for (const std::unique_ptr& info : exports) {
diff --git a/deps/LIEF/src/PE/Binary.cpp b/deps/LIEF/src/PE/Binary.cpp
index b11a3369b44b90..935ec24d4bd93b 100644
--- a/deps/LIEF/src/PE/Binary.cpp
+++ b/deps/LIEF/src/PE/Binary.cpp
@@ -491,7 +491,7 @@ Section* Binary::add_section(const Section& section) {
}
if (sections_.size() >= std::numeric_limits::max()) {
- LIEF_INFO("Binary reachs its maximum number of sections");
+ LIEF_INFO("Binary reaches its maximum number of sections");
return nullptr;
}
@@ -1496,5 +1496,5 @@ std::ostream& Binary::print(std::ostream& os) const {
return os;
}
-} // namesapce PE
+} // namespace PE
} // namespace LIEF
diff --git a/deps/LIEF/src/PE/DelayImportEntry.cpp b/deps/LIEF/src/PE/DelayImportEntry.cpp
index 9cb3426a8bb86f..27aafe873a5120 100644
--- a/deps/LIEF/src/PE/DelayImportEntry.cpp
+++ b/deps/LIEF/src/PE/DelayImportEntry.cpp
@@ -63,4 +63,4 @@ std::ostream& operator<<(std::ostream& os, const DelayImportEntry& entry) {
}
} // namespace PE
-} // namepsace LIEF
+} // namespace LIEF
diff --git a/deps/LIEF/src/PE/ImportEntry.cpp b/deps/LIEF/src/PE/ImportEntry.cpp
index d76c81e1649a4c..501c121ea3dbb5 100644
--- a/deps/LIEF/src/PE/ImportEntry.cpp
+++ b/deps/LIEF/src/PE/ImportEntry.cpp
@@ -61,4 +61,4 @@ std::ostream& operator<<(std::ostream& os, const ImportEntry& entry) {
}
} // namespace PE
-} // namepsace LIEF
+} // namespace LIEF
diff --git a/deps/LIEF/src/PE/LoadConfigurations/DynamicRelocation/FunctionOverrideInfo.cpp b/deps/LIEF/src/PE/LoadConfigurations/DynamicRelocation/FunctionOverrideInfo.cpp
index 9802a4ba3a9717..7a0f53ef23f865 100644
--- a/deps/LIEF/src/PE/LoadConfigurations/DynamicRelocation/FunctionOverrideInfo.cpp
+++ b/deps/LIEF/src/PE/LoadConfigurations/DynamicRelocation/FunctionOverrideInfo.cpp
@@ -147,7 +147,7 @@ std::unique_ptr
for (size_t i = 0; i < count; ++i) {
auto RVA = strm.read();
if (!RVA) {
- LIEF_WARN("Cant read IMAGE_FUNCTION_OVERRIDE_DYNAMIC_RELOCATION.RVAs[{}]", i);
+ LIEF_WARN("Can't read IMAGE_FUNCTION_OVERRIDE_DYNAMIC_RELOCATION.RVAs[{}]", i);
return func_override_info;
}
LIEF_DEBUG("IMAGE_FUNCTION_OVERRIDE_DYNAMIC_RELOCATION.RVA[{}]: 0x{:08x}", i, *RVA);
diff --git a/deps/LIEF/src/PE/LoadConfigurations/LoadConfiguration.cpp b/deps/LIEF/src/PE/LoadConfigurations/LoadConfiguration.cpp
index 07185e03b3c454..535a06b5b1b455 100644
--- a/deps/LIEF/src/PE/LoadConfigurations/LoadConfiguration.cpp
+++ b/deps/LIEF/src/PE/LoadConfigurations/LoadConfiguration.cpp
@@ -492,7 +492,7 @@ ok_error_t LoadConfiguration::parse_seh_table(
return ok();
}
- LIEF_DEBUG("SEH Table parsing (#{})", count);
+ LIEF_DEBUG("SHE Table parsing (#{})", count);
config.seh_rva_.reserve(std::min(MAX_RESERVE, count));
for (size_t i = 0; i < count; ++i) {
@@ -892,11 +892,11 @@ std::string LoadConfiguration::to_string() const {
<< format("{:{}} 0x{:016x}\n", "Security Cookie:", WIDTH, security_cookie());
if (auto val = se_handler_table()) {
- oss << format("{:{}} 0x{:06x}\n", "SEH Table:", WIDTH, *val);
+ oss << format("{:{}} 0x{:06x}\n", "SHE Table:", WIDTH, *val);
}
if (auto val = se_handler_count()) {
- oss << format("{:{}} {}\n", "SEH Count:", WIDTH, *val);
+ oss << format("{:{}} {}\n", "SHE Count:", WIDTH, *val);
}
if (auto val = guard_cf_check_function_pointer()) {
@@ -1029,7 +1029,7 @@ std::string LoadConfiguration::to_string() const {
}
if (!seh_rva_.empty()) {
- oss << format(" SEH Table ({}) {{\n", seh_rva_.size()) ;
+ oss << format(" SHE Table ({}) {{\n", seh_rva_.size()) ;
for (uint32_t RVA : seh_rva_) {
oss << format(" 0x{:08x}\n", RVA);
}
diff --git a/deps/LIEF/src/PE/Parser.tcc b/deps/LIEF/src/PE/Parser.tcc
index adaec0c81fc276..9d6bcf45f28de3 100644
--- a/deps/LIEF/src/PE/Parser.tcc
+++ b/deps/LIEF/src/PE/Parser.tcc
@@ -713,7 +713,7 @@ ok_error_t Parser::process_load_config(LoadConfiguration& lconf) {
uint64_t offset = bin().va_to_offset(addr);
ScopedStream stream(*stream_, offset);
if (!LoadConfiguration::parse_seh_table(*this, *stream, lconf)) {
- LIEF_WARN("SEH table processing finished with errors");
+ LIEF_WARN("SHE table processing finished with errors");
}
}
diff --git a/deps/LIEF/src/PE/ResourcesManager.cpp b/deps/LIEF/src/PE/ResourcesManager.cpp
index cea6f5ffece1a5..17f136643d4f6f 100644
--- a/deps/LIEF/src/PE/ResourcesManager.cpp
+++ b/deps/LIEF/src/PE/ResourcesManager.cpp
@@ -364,7 +364,7 @@ void ResourcesManager::change_icon(const ResourceIcon& original, const ResourceI
return;
}
- // Update group in which the icon is registred
+ // Update group in which the icon is registered
for (ResourceNode& grp_icon_lvl2 : icon_grp_node->childs()) {
for (ResourceNode& grp_icon_lvl3 : grp_icon_lvl2.childs()) {
auto* icon_group_node = grp_icon_lvl3.cast();
diff --git a/deps/LIEF/src/PE/Structures.hpp b/deps/LIEF/src/PE/Structures.hpp
index 4adc3e1de9b8f3..7f595a26dbb198 100644
--- a/deps/LIEF/src/PE/Structures.hpp
+++ b/deps/LIEF/src/PE/Structures.hpp
@@ -249,7 +249,7 @@ class PE64 {
}
-} // end namesapce PE
+} // end namespace PE
}
#endif
diff --git a/deps/LIEF/src/PE/debug/FPO.cpp b/deps/LIEF/src/PE/debug/FPO.cpp
index a59377349c8597..8009808578672a 100644
--- a/deps/LIEF/src/PE/debug/FPO.cpp
+++ b/deps/LIEF/src/PE/debug/FPO.cpp
@@ -30,7 +30,7 @@ struct FPO_DATA {
uint16_t cdwParams; // # bytes in params/4
uint16_t cbProlog : 8; // # bytes in prolog
uint16_t cbRegs : 3; // # regs saved
- uint16_t fHasSEH : 1; // TRUE if SEH in func
+ uint16_t fHasSEH : 1; // TRUE if SHE in func
uint16_t fUseBP : 1; // TRUE if EBP has been allocated
uint16_t reserved : 1; // reserved for future use
uint16_t cbFrame : 2; // frame type
@@ -82,7 +82,7 @@ std::string FPO::to_string() const {
using namespace fmt;
std::ostringstream os;
os << format("{:10} {:13} {:9} {:8} {:9} {:5} {:6} {:8} {}\n", "RVA", "Proc Size",
- "Locals", "Regs", "Prolog", "BP", "SEH", "Type", "Params");
+ "Locals", "Regs", "Prolog", "BP", "SHE", "Type", "Params");
for (const entry_t& entry : entries()) {
os << entry.to_string() << '\n';
}
diff --git a/deps/LIEF/src/PE/structures.inc b/deps/LIEF/src/PE/structures.inc
index 7ecce5991bcc73..321699230be150 100644
--- a/deps/LIEF/src/PE/structures.inc
+++ b/deps/LIEF/src/PE/structures.inc
@@ -326,7 +326,7 @@ struct pe_resource_acceltableentry {
// Export structures
//
struct pe_export_directory_table {
- uint32_t ExportFlags; ///< Reserverd must be 0
+ uint32_t ExportFlags; ///< Reserved must be 0
uint32_t Timestamp; ///< The time and date that the export data was created
uint16_t MajorVersion; ///< The Major version number
uint16_t MinorVersion; ///< The Minor version number
@@ -371,7 +371,7 @@ struct pe_resource_version_info {
/// Resource icons directory structure
/// Based on https://docs.microsoft.com/en-us/windows/win32/menurc/resources-reference
///
-/// This is the begining of the RESOURCE_TYPES::GROUP_ICON content
+/// This is the beginning of the RESOURCE_TYPES::GROUP_ICON content
struct pe_resource_icon_dir {
uint16_t reserved; ///< Reserved
uint16_t type; ///< Resource type (1 for icons)
diff --git a/deps/LIEF/src/PE/utils.cpp b/deps/LIEF/src/PE/utils.cpp
index e24c48579d97d4..680ae627a7a8ef 100644
--- a/deps/LIEF/src/PE/utils.cpp
+++ b/deps/LIEF/src/PE/utils.cpp
@@ -119,7 +119,7 @@ result get_type_from_stream(BinaryStream& stream) {
/*
* We first try to determine PE's type from the OptionalHeader's Magic.
* In some cases (cf. https://github.com/lief-project/LIEF/issues/644),
- * these magic bytes can be "corrupted" without afecting the executing.
+ * these magic bytes can be "corrupted" without affecting the executing.
* So the second test to determine the PE's type is to check the value
* of SizeOfOptionalHeader we should match sizeof(pe32_optional_header)
* for a 32 bits PE or sizeof(pe64_optional_header) for a 64 bits PE file
diff --git a/deps/LIEF/src/internal_utils.hpp b/deps/LIEF/src/internal_utils.hpp
index af66125f06ec47..4c40ea78dcd437 100644
--- a/deps/LIEF/src/internal_utils.hpp
+++ b/deps/LIEF/src/internal_utils.hpp
@@ -104,7 +104,7 @@ std::vector optimize(const HANDLER& container,
string_table_optimized.reserve(container.size());
// reverse all symbol names and sort them so we can merge them in the linear time:
- // aaa, aadd, aaaa, cca, ca -> aaaa, aaa, acc, ac ddaa
+ // aaa, add, aaaa, cca, ca -> aaaa, aaa, acc, ac ddaa
std::transform(std::begin(container), std::end(container),
std::inserter(string_table, std::end(string_table)),
getter);
diff --git a/deps/LIEF/src/intmem.h b/deps/LIEF/src/intmem.h
index e86e3f2a6a436c..6f01dcce980f01 100644
--- a/deps/LIEF/src/intmem.h
+++ b/deps/LIEF/src/intmem.h
@@ -137,7 +137,7 @@ static T bswap_be(T const v)
return v;
}
#else
-#error Unsupported endianess!
+#error Unsupported endianness!
#endif
template
diff --git a/deps/LIEF/src/logging.cpp b/deps/LIEF/src/logging.cpp
index 32391624a50f4a..5000c5788ca21c 100644
--- a/deps/LIEF/src/logging.cpp
+++ b/deps/LIEF/src/logging.cpp
@@ -313,7 +313,7 @@ void log(const char* name, LEVEL level, const std::string& msg) {
case LEVEL::ERR:
return Logger::instance(name).err("{}", msg);
case LEVEL::CRITICAL:
- return Logger::instance(name).critial("{}", msg);
+ return Logger::instance(name).critical("{}", msg);
}
}
diff --git a/deps/LIEF/src/logging.hpp b/deps/LIEF/src/logging.hpp
index 50fcb45f55b1d6..70ab8fa7383467 100644
--- a/deps/LIEF/src/logging.hpp
+++ b/deps/LIEF/src/logging.hpp
@@ -130,7 +130,7 @@ class Logger {
}
template
- void critial(const char *fmt, const Args &... args) {
+ void critical(const char *fmt, const Args &... args) {
if constexpr (lief_logging_support) {
sink_->critical(fmt::runtime(fmt), args...);
}
@@ -156,12 +156,12 @@ class Logger {
};
-inline void critial(const char *msg) {
+inline void critical(const char *msg) {
LIEF::logging::log(LIEF::logging::LEVEL::CRITICAL, msg);
}
template
-void critial(const char *fmt, const Args &... args) {
+void critical(const char *fmt, const Args &... args) {
LIEF::logging::log(LIEF::logging::LEVEL::CRITICAL,
fmt::format(fmt::runtime(fmt), args...)
);
@@ -172,13 +172,13 @@ void critial(const char *fmt, const Args &... args) {
}
[[noreturn]] inline void fatal_error(const char* msg) {
- critial(msg);
+ critical(msg);
terminate();
}
template
[[noreturn]] void fatal_error(const char *fmt, const Args &... args) {
- critial(fmt, args...);
+ critical(fmt, args...);
terminate();
}
diff --git a/deps/LIEF/third-party/expected/include/tl/expected.hpp b/deps/LIEF/third-party/expected/include/tl/expected.hpp
index 06e6dc4f6c7761..5c79692b1e1b12 100644
--- a/deps/LIEF/third-party/expected/include/tl/expected.hpp
+++ b/deps/LIEF/third-party/expected/include/tl/expected.hpp
@@ -217,7 +217,7 @@ unexpected::type> make_unexpected(E &&e) {
struct unexpect_t {
unexpect_t() = default;
};
-static constexpr unexpect_t unexpect{};
+static constexpr unexpect_t unexpected{};
namespace detail {
template
@@ -1589,7 +1589,7 @@ class TL_EXPECTED_NODISCARD expected :
detail::enable_if_t::value> * =
nullptr>
explicit constexpr expected(const unexpected &e)
- : impl_base(unexpect, e.value()),
+ : impl_base(unexpected, e.value()),
ctor_base(detail::default_constructor_tag{}) {}
template <
@@ -1598,7 +1598,7 @@ class TL_EXPECTED_NODISCARD expected :
nullptr,
detail::enable_if_t::value> * = nullptr>
constexpr expected(unexpected const &e)
- : impl_base(unexpect, e.value()),
+ : impl_base(unexpected, e.value()),
ctor_base(detail::default_constructor_tag{}) {}
template <
@@ -1607,7 +1607,7 @@ class TL_EXPECTED_NODISCARD expected :
detail::enable_if_t::value> * = nullptr>
explicit constexpr expected(unexpected &&e) noexcept(
std::is_nothrow_constructible::value)
- : impl_base(unexpect, std::move(e.value())),
+ : impl_base(unexpected, std::move(e.value())),
ctor_base(detail::default_constructor_tag{}) {}
template <
@@ -1616,14 +1616,14 @@ class TL_EXPECTED_NODISCARD expected :
detail::enable_if_t::value> * = nullptr>
constexpr expected(unexpected &&e) noexcept(
std::is_nothrow_constructible::value)
- : impl_base(unexpect, std::move(e.value())),
+ : impl_base(unexpected, std::move(e.value())),
ctor_base(detail::default_constructor_tag{}) {}
template ::value> * =
nullptr>
constexpr explicit expected(unexpect_t, Args &&...args)
- : impl_base(unexpect, std::forward(args)...),
+ : impl_base(unexpected, std::forward(args)...),
ctor_base(detail::default_constructor_tag{}) {}
template &, Args &&...>::value> * = nullptr>
constexpr explicit expected(unexpect_t, std::initializer_list il,
Args &&...args)
- : impl_base(unexpect, il, std::forward(args)...),
+ : impl_base(unexpected, il, std::forward(args)...),
ctor_base(detail::default_constructor_tag{}) {}
template (f), *std::forward(exp))
- : Ret(unexpect, std::forward(exp).error());
+ : Ret(unexpected, std::forward(exp).error());
}
template ::value, "F must return an expected");
return exp.has_value() ? detail::invoke(std::forward(f))
- : Ret(unexpect, std::forward(exp).error());
+ : Ret(unexpected, std::forward(exp).error());
}
#else
template struct TC;
@@ -2118,7 +2118,7 @@ auto and_then_impl(Exp &&exp, F &&f) -> Ret {
return exp.has_value()
? detail::invoke(std::forward(f), *std::forward(exp))
- : Ret(unexpect, std::forward(exp).error());
+ : Ret(unexpected, std::forward(exp).error());
}
template Ret {
static_assert(detail::is_expected::value, "F must return an expected");
return exp.has_value() ? detail::invoke(std::forward(f))
- : Ret(unexpect, std::forward(exp).error());
+ : Ret(unexpected, std::forward(exp).error());
}
#endif
@@ -2142,7 +2142,7 @@ constexpr auto expected_map_impl(Exp &&exp, F &&f) {
using result = ret_t>;
return exp.has_value() ? result(detail::invoke(std::forward(f),
*std::forward(exp)))
- : result(unexpect, std::forward(exp).error());
+ : result(unexpected, std::forward(exp).error());
}
template (exp).error());
+ return result(unexpected, std::forward(exp).error());
}
template >;
return exp.has_value() ? result(detail::invoke(std::forward(f)))
- : result(unexpect, std::forward(exp).error());
+ : result(unexpected, std::forward(exp).error());
}
template (exp).error());
+ return result(unexpected, std::forward(exp).error());
}
#else
template (f),
*std::forward(exp)))
- : result(unexpect, std::forward(exp).error());
+ : result(unexpected, std::forward(exp).error());
}
template >;
return exp.has_value() ? result(detail::invoke(std::forward(f)))
- : result(unexpect, std::forward(exp).error());
+ : result(unexpected, std::forward(exp).error());
}
template , detail::decay_t>;
return exp.has_value()
? result(*std::forward(exp))
- : result(unexpect, detail::invoke(std::forward(f),
+ : result(unexpected, detail::invoke(std::forward(f),
std::forward(exp).error()));
}
template (f), std::forward(exp).error());
- return result(unexpect, monostate{});
+ return result(unexpected, monostate{});
}
template >::value> * = nullptr,
@@ -2279,7 +2279,7 @@ constexpr auto map_error_impl(Exp &&exp, F &&f) {
using result = expected, detail::decay_t>;
return exp.has_value()
? result()
- : result(unexpect, detail::invoke(std::forward(f),
+ : result(unexpected, detail::invoke(std::forward(f),
std::forward(exp).error()));
}
template (f), std::forward(exp).error());
- return result(unexpect, monostate{});
+ return result(unexpected, monostate{});
}
#else
template (exp))
- : result(unexpect, detail::invoke(std::forward(f),
+ : result(unexpected, detail::invoke(std::forward(f),
std::forward(exp).error()));
}
@@ -2324,7 +2324,7 @@ auto map_error_impl(Exp &&exp, F &&f) -> expected, monostate> {
}
detail::invoke(std::forward(f), std::forward(exp).error());
- return result(unexpect, monostate{});
+ return result(unexpected, monostate{});
}
template (f),
+ : result(unexpected, detail::invoke(std::forward(f),
std::forward(exp).error()));
}
@@ -2354,7 +2354,7 @@ auto map_error_impl(Exp &&exp, F &&f) -> expected, monostate> {
}
detail::invoke(std::forward(f), std::forward(exp).error());
- return result(unexpect, monostate{});
+ return result(unexpected, monostate{});
}
#endif
diff --git a/deps/LIEF/third-party/frozen/README.rst b/deps/LIEF/third-party/frozen/README.rst
index 5a1ceb9f2fa08d..dfe3427494445e 100644
--- a/deps/LIEF/third-party/frozen/README.rst
+++ b/deps/LIEF/third-party/frozen/README.rst
@@ -41,7 +41,7 @@ Just copy the ``include/frozen`` directory somewhere and points to it using the
Installation via CMake populates configuration files into the ``/usr/local/share``
-directory which can be consumed by CMake's ``find_package`` instrinsic function.
+directory which can be consumed by CMake's ``find_package`` intrinsic function.
Requirements
------------
diff --git a/deps/LIEF/third-party/mbedtls/include/mbedtls/chacha20.h b/deps/LIEF/third-party/mbedtls/include/mbedtls/chacha20.h
index 680fe360461e68..42936af1421b53 100644
--- a/deps/LIEF/third-party/mbedtls/include/mbedtls/chacha20.h
+++ b/deps/LIEF/third-party/mbedtls/include/mbedtls/chacha20.h
@@ -96,7 +96,7 @@ int mbedtls_chacha20_setkey(mbedtls_chacha20_context *ctx,
/**
* \brief This function sets the nonce and initial counter value.
*
- * \note A ChaCha20 context can be re-used with the same key by
+ * \note A ChaCha20 context can be reused with the same key by
* calling this function to change the nonce.
*
* \warning You must never use the same nonce twice with the same key.
diff --git a/deps/LIEF/third-party/mbedtls/include/mbedtls/cipher.h b/deps/LIEF/third-party/mbedtls/include/mbedtls/cipher.h
index 1dc31c9c241957..082da40bedbae9 100644
--- a/deps/LIEF/third-party/mbedtls/include/mbedtls/cipher.h
+++ b/deps/LIEF/third-party/mbedtls/include/mbedtls/cipher.h
@@ -116,8 +116,8 @@ typedef enum {
MBEDTLS_CIPHER_CAMELLIA_256_GCM, /**< Camellia cipher with 256-bit GCM mode. */
MBEDTLS_CIPHER_DES_ECB, /**< DES cipher with ECB mode. \warning DES is considered weak. */
MBEDTLS_CIPHER_DES_CBC, /**< DES cipher with CBC mode. \warning DES is considered weak. */
- MBEDTLS_CIPHER_DES_EDE_ECB, /**< DES cipher with EDE ECB mode. \warning 3DES is considered weak. */
- MBEDTLS_CIPHER_DES_EDE_CBC, /**< DES cipher with EDE CBC mode. \warning 3DES is considered weak. */
+ MBEDTLS_CIPHER_DES_EDE_ECB, /**< DES cipher with EDGE ECB mode. \warning 3DES is considered weak. */
+ MBEDTLS_CIPHER_DES_EDE_CBC, /**< DES cipher with EDGE CBC mode. \warning 3DES is considered weak. */
MBEDTLS_CIPHER_DES_EDE3_ECB, /**< DES cipher with EDE3 ECB mode. \warning 3DES is considered weak. */
MBEDTLS_CIPHER_DES_EDE3_CBC, /**< DES cipher with EDE3 CBC mode. \warning 3DES is considered weak. */
MBEDTLS_CIPHER_AES_128_CCM, /**< AES cipher with 128-bit CCM mode. */
@@ -207,9 +207,9 @@ enum {
MBEDTLS_KEY_LENGTH_NONE = 0,
/** Key length, in bits (including parity), for DES keys. \warning DES is considered weak. */
MBEDTLS_KEY_LENGTH_DES = 64,
- /** Key length in bits, including parity, for DES in two-key EDE. \warning 3DES is considered weak. */
+ /** Key length in bits, including parity, for DES in two-key EDGE. \warning 3DES is considered weak. */
MBEDTLS_KEY_LENGTH_DES_EDE = 128,
- /** Key length in bits, including parity, for DES in three-key EDE. \warning 3DES is considered weak. */
+ /** Key length in bits, including parity, for DES in three-key EDGE. \warning 3DES is considered weak. */
MBEDTLS_KEY_LENGTH_DES_EDE3 = 192,
};
diff --git a/deps/LIEF/third-party/mbedtls/include/mbedtls/config_adjust_legacy_crypto.h b/deps/LIEF/third-party/mbedtls/include/mbedtls/config_adjust_legacy_crypto.h
index 331ac9b2daae53..a281f128f02254 100644
--- a/deps/LIEF/third-party/mbedtls/include/mbedtls/config_adjust_legacy_crypto.h
+++ b/deps/LIEF/third-party/mbedtls/include/mbedtls/config_adjust_legacy_crypto.h
@@ -103,7 +103,7 @@
* via a direct legacy call (see below).
*
* The md module performs an algorithm via PSA if there is a PSA hash
- * accelerator and the PSA driver subsytem is initialized at the time the
+ * accelerator and the PSA driver subsystem is initialized at the time the
* operation is started, and makes a direct legacy call otherwise.
*/
diff --git a/deps/LIEF/third-party/mbedtls/include/mbedtls/dhm.h b/deps/LIEF/third-party/mbedtls/include/mbedtls/dhm.h
index bbfe6ea8d5be21..cd9b2cfd5750fa 100644
--- a/deps/LIEF/third-party/mbedtls/include/mbedtls/dhm.h
+++ b/deps/LIEF/third-party/mbedtls/include/mbedtls/dhm.h
@@ -259,7 +259,7 @@ int mbedtls_dhm_make_public(mbedtls_dhm_context *ctx, int x_size,
*
* \note If \p f_rng is not \c NULL, it is used to blind the input as
* a countermeasure against timing attacks. Blinding is used
- * only if our private key \c X is re-used, and not used
+ * only if our private key \c X is reused, and not used
* otherwise. We recommend always passing a non-NULL
* \p f_rng argument.
*
diff --git a/deps/LIEF/third-party/mbedtls/include/mbedtls/mbedtls_config.h b/deps/LIEF/third-party/mbedtls/include/mbedtls/mbedtls_config.h
index d2831367cd92cc..22629624eb9001 100644
--- a/deps/LIEF/third-party/mbedtls/include/mbedtls/mbedtls_config.h
+++ b/deps/LIEF/third-party/mbedtls/include/mbedtls/mbedtls_config.h
@@ -1669,7 +1669,7 @@
* functions mbedtls_ssl_context_save() and mbedtls_ssl_context_load().
*
* This pair of functions allows one side of a connection to serialize the
- * context associated with the connection, then free or re-use that context
+ * context associated with the connection, then free or reuse that context
* while the serialized state is persisted elsewhere, and finally deserialize
* that state to a live context for resuming read/write operations on the
* connection. From a protocol perspective, the state of the connection is
diff --git a/deps/LIEF/third-party/mbedtls/include/mbedtls/pk.h b/deps/LIEF/third-party/mbedtls/include/mbedtls/pk.h
index 2b7f34bc0b7f65..0c04e9bca36794 100644
--- a/deps/LIEF/third-party/mbedtls/include/mbedtls/pk.h
+++ b/deps/LIEF/third-party/mbedtls/include/mbedtls/pk.h
@@ -362,7 +362,7 @@ int mbedtls_pk_setup(mbedtls_pk_context *ctx, const mbedtls_pk_info_t *info);
* \brief Initialize a PK context to wrap a PSA key.
*
* This function creates a PK context which wraps a PSA key. The PSA wrapped
- * key must be an EC or RSA key pair (DH is not suported in the PK module).
+ * key must be an EC or RSA key pair (DH is not supported in the PK module).
*
* Under the hood PSA functions will be used to perform the required
* operations and, based on the key type, used algorithms will be:
diff --git a/deps/LIEF/third-party/mbedtls/include/mbedtls/ssl.h b/deps/LIEF/third-party/mbedtls/include/mbedtls/ssl.h
index 3cdddf7d72f1ad..853d10e12e314e 100644
--- a/deps/LIEF/third-party/mbedtls/include/mbedtls/ssl.h
+++ b/deps/LIEF/third-party/mbedtls/include/mbedtls/ssl.h
@@ -1557,7 +1557,7 @@ struct mbedtls_ssl_config {
#if defined(MBEDTLS_X509_CRT_PARSE_C)
/** Callback to customize X.509 certificate chain verification */
int(*MBEDTLS_PRIVATE(f_vrfy))(void *, mbedtls_x509_crt *, int, uint32_t *);
- void *MBEDTLS_PRIVATE(p_vrfy); /*!< context for X.509 verify calllback */
+ void *MBEDTLS_PRIVATE(p_vrfy); /*!< context for X.509 verify callback */
#endif
#if defined(MBEDTLS_SSL_HANDSHAKE_WITH_PSK_ENABLED)
@@ -2075,7 +2075,7 @@ void mbedtls_ssl_init(mbedtls_ssl_context *ssl);
*
* \warning After setting up a client context, if certificate-based
* authentication is enabled, you should call
- * mbedtls_ssl_set_hostname() to specifiy the expected
+ * mbedtls_ssl_set_hostname() to specify the expected
* name of the server. Without this, in most scenarios,
* the TLS connection is insecure. See
* #MBEDTLS_ERR_SSL_CERTIFICATE_VERIFICATION_WITHOUT_HOSTNAME
@@ -2095,7 +2095,7 @@ int mbedtls_ssl_setup(mbedtls_ssl_context *ssl,
const mbedtls_ssl_config *conf);
/**
- * \brief Reset an already initialized SSL context for re-use
+ * \brief Reset an already initialized SSL context for reuse
* while retaining application-set variables, function
* pointers and data.
*
@@ -2185,7 +2185,7 @@ void mbedtls_ssl_conf_authmode(mbedtls_ssl_config *conf, int authmode);
* MBEDTLS_SSL_EARLY_DATA_ENABLED:
* Early data functionality is enabled and may be negotiated in the handshake.
* Application using early data functionality needs to be aware that the
- * security properties for early data (also refered to as 0-RTT data) are
+ * security properties for early data (also referred to as 0-RTT data) are
* weaker than those for other kinds of TLS data. See the documentation of
* mbedtls_ssl_write_early_data() and mbedtls_ssl_read_early_data() for more
* information.
@@ -2817,7 +2817,7 @@ static inline size_t mbedtls_ssl_session_get_id_len(const mbedtls_ssl_session *s
*
* \param session SSL session.
*
- * \return int represetation for ciphersuite.
+ * \return int representation for ciphersuite.
*/
static inline int mbedtls_ssl_session_get_ciphersuite_id(const mbedtls_ssl_session *session)
{
@@ -5055,7 +5055,7 @@ int mbedtls_ssl_get_session(const mbedtls_ssl_context *ssl,
* #MBEDTLS_ERR_SSL_RECEIVED_EARLY_DATA,
* you must stop using the SSL context for reading or writing,
* and either free it or call \c mbedtls_ssl_session_reset()
- * on it before re-using it for a new connection; the current
+ * on it before reusing it for a new connection; the current
* connection must be closed.
*
* \note If DTLS is in use, then you may choose to handle
@@ -5148,7 +5148,7 @@ static inline int mbedtls_ssl_is_handshake_over(mbedtls_ssl_context *ssl)
* #MBEDTLS_ERR_SSL_RECEIVED_EARLY_DATA, you must stop using
* the SSL context for reading or writing, and either free it
* or call \c mbedtls_ssl_session_reset() on it before
- * re-using it for a new connection; the current connection
+ * reusing it for a new connection; the current connection
* must be closed.
*/
int mbedtls_ssl_handshake_step(mbedtls_ssl_context *ssl);
@@ -5173,7 +5173,7 @@ int mbedtls_ssl_handshake_step(mbedtls_ssl_context *ssl);
* #MBEDTLS_ERR_SSL_CRYPTO_IN_PROGRESS, you must stop using
* the SSL context for reading or writing, and either free it
* or call \c mbedtls_ssl_session_reset() on it before
- * re-using it for a new connection; the current connection
+ * reusing it for a new connection; the current connection
* must be closed.
*
*/
@@ -5245,7 +5245,7 @@ int mbedtls_ssl_renegotiate(mbedtls_ssl_context *ssl);
* #MBEDTLS_ERR_SSL_RECEIVED_EARLY_DATA,
* you must stop using the SSL context for reading or writing,
* and either free it or call \c mbedtls_ssl_session_reset()
- * on it before re-using it for a new connection; the current
+ * on it before reusing it for a new connection; the current
* connection must be closed.
*
* \note When this function returns #MBEDTLS_ERR_SSL_CLIENT_RECONNECT
@@ -5331,7 +5331,7 @@ int mbedtls_ssl_read(mbedtls_ssl_context *ssl, unsigned char *buf, size_t len);
* #MBEDTLS_ERR_SSL_RECEIVED_EARLY_DATA,
* you must stop using the SSL context for reading or writing,
* and either free it or call \c mbedtls_ssl_session_reset()
- * on it before re-using it for a new connection; the current
+ * on it before reusing it for a new connection; the current
* connection must be closed.
*
* \note When this function returns #MBEDTLS_ERR_SSL_WANT_WRITE/READ,
@@ -5367,7 +5367,7 @@ int mbedtls_ssl_write(mbedtls_ssl_context *ssl, const unsigned char *buf, size_t
* \note If this function returns something other than 0 or
* MBEDTLS_ERR_SSL_WANT_READ/WRITE, you must stop using
* the SSL context for reading or writing, and either free it or
- * call \c mbedtls_ssl_session_reset() on it before re-using it
+ * call \c mbedtls_ssl_session_reset() on it before reusing it
* for a new connection; the current connection must be closed.
*/
int mbedtls_ssl_send_alert_message(mbedtls_ssl_context *ssl,
@@ -5383,7 +5383,7 @@ int mbedtls_ssl_send_alert_message(mbedtls_ssl_context *ssl,
* \note If this function returns something other than 0 or
* MBEDTLS_ERR_SSL_WANT_READ/WRITE, you must stop using
* the SSL context for reading or writing, and either free it or
- * call \c mbedtls_ssl_session_reset() on it before re-using it
+ * call \c mbedtls_ssl_session_reset() on it before reusing it
* for a new connection; the current connection must be closed.
*/
int mbedtls_ssl_close_notify(mbedtls_ssl_context *ssl);
@@ -5571,7 +5571,7 @@ void mbedtls_ssl_free(mbedtls_ssl_context *ssl);
#if defined(MBEDTLS_SSL_CONTEXT_SERIALIZATION)
/**
* \brief Save an active connection as serialized data in a buffer.
- * This allows the freeing or re-using of the SSL context
+ * This allows the freeing or reusing of the SSL context
* while still picking up the connection later in a way that
* it entirely transparent to the peer.
*
@@ -5593,7 +5593,7 @@ void mbedtls_ssl_free(mbedtls_ssl_context *ssl);
* mbedtls_ssl_session_reset() on \p ssl which as a result is
* no longer associated with the connection that has been
* serialized. This avoids creating copies of the connection
- * state. You're then free to either re-use the context
+ * state. You're then free to either reuse the context
* structure for a different connection, or call
* mbedtls_ssl_free() on it. See the documentation of
* mbedtls_ssl_session_reset() for more details.
diff --git a/deps/LIEF/third-party/mbedtls/include/psa/crypto_config.h b/deps/LIEF/third-party/mbedtls/include/psa/crypto_config.h
index e0a8d60606d8ba..f6d21f48eb3a00 100644
--- a/deps/LIEF/third-party/mbedtls/include/psa/crypto_config.h
+++ b/deps/LIEF/third-party/mbedtls/include/psa/crypto_config.h
@@ -121,7 +121,7 @@
* The following symbols extend and deprecate the legacy
* PSA_WANT_KEY_TYPE_xxx_KEY_PAIR ones. They include the usage of that key in
* the name's suffix. "_USE" is the most generic and it can be used to describe
- * a generic suport, whereas other ones add more features on top of that and
+ * a generic support, whereas other ones add more features on top of that and
* they are more specific.
*/
#define PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC 1
diff --git a/deps/LIEF/third-party/mbedtls/include/psa/crypto_legacy.h b/deps/LIEF/third-party/mbedtls/include/psa/crypto_legacy.h
index 7df3614d6a7d52..bb646e06bbbf4a 100644
--- a/deps/LIEF/third-party/mbedtls/include/psa/crypto_legacy.h
+++ b/deps/LIEF/third-party/mbedtls/include/psa/crypto_legacy.h
@@ -1,14 +1,14 @@
/**
* \file psa/crypto_legacy.h
*
- * \brief Add temporary suppport for deprecated symbols before they are
+ * \brief Add temporary support for deprecated symbols before they are
* removed from the library.
*
* PSA_WANT_KEY_TYPE_xxx_KEY_PAIR and MBEDTLS_PSA_ACCEL_KEY_TYPE_xxx_KEY_PAIR
* symbols are deprecated.
- * New symols add a suffix to that base name in order to clearly state what is
+ * New symbols add a suffix to that base name in order to clearly state what is
* the expected use for the key (use, import, export, generate, derive).
- * Here we define some backward compatibility support for uses stil using
+ * Here we define some backward compatibility support for uses still using
* the legacy symbols.
*/
/*
diff --git a/deps/LIEF/third-party/mbedtls/include/psa/crypto_sizes.h b/deps/LIEF/third-party/mbedtls/include/psa/crypto_sizes.h
index 87b8c39fa6db1d..975692e8cdc8b2 100644
--- a/deps/LIEF/third-party/mbedtls/include/psa/crypto_sizes.h
+++ b/deps/LIEF/third-party/mbedtls/include/psa/crypto_sizes.h
@@ -1091,7 +1091,7 @@
/** Maximum key length for ciphers.
*
- * Since there is no additional PSA_WANT_xxx symbol to specifiy the size of
+ * Since there is no additional PSA_WANT_xxx symbol to specify the size of
* the key once a cipher is enabled (as it happens for asymmetric keys for
* example), the maximum key length is taken into account for each cipher.
* The resulting value will be the maximum cipher's key length given depending
diff --git a/deps/LIEF/third-party/mbedtls/library/bignum.c b/deps/LIEF/third-party/mbedtls/library/bignum.c
index 424490951d9e65..95d3962571319b 100644
--- a/deps/LIEF/third-party/mbedtls/library/bignum.c
+++ b/deps/LIEF/third-party/mbedtls/library/bignum.c
@@ -81,7 +81,7 @@ int mbedtls_mpi_lt_mpi_ct(const mbedtls_mpi *X,
/*
* Assuming signs are the same, compare X and Y. We switch the comparison
- * order if they are negative so that we get the right result, regardles of
+ * order if they are negative so that we get the right result, regardless of
* sign.
*/
diff --git a/deps/LIEF/third-party/mbedtls/library/common.h b/deps/LIEF/third-party/mbedtls/library/common.h
index 50f2a29a7237e2..747fca4bf5b608 100644
--- a/deps/LIEF/third-party/mbedtls/library/common.h
+++ b/deps/LIEF/third-party/mbedtls/library/common.h
@@ -337,7 +337,7 @@ static inline void mbedtls_xor_no_simd(unsigned char *r,
* asm( "ldr x4, [%x0], #8" ... : "+r" (uptr) : : )
* ptr = (void*) uptr;
*
- * Note that the "x" in "%x0" is neccessary; writing "%0" will cause warnings.
+ * Note that the "x" in "%x0" is necessary; writing "%0" will cause warnings.
*/
#if defined(__aarch64__) && defined(MBEDTLS_HAVE_ASM)
#if UINTPTR_MAX == 0xfffffffful
diff --git a/deps/LIEF/third-party/mbedtls/library/dhm.c b/deps/LIEF/third-party/mbedtls/library/dhm.c
index bcc07f544194e5..17a2a6e7ea8e8b 100644
--- a/deps/LIEF/third-party/mbedtls/library/dhm.c
+++ b/deps/LIEF/third-party/mbedtls/library/dhm.c
@@ -361,7 +361,7 @@ static int dhm_update_blinding(mbedtls_dhm_context *ctx,
}
/*
- * Ok, we need blinding. Can we re-use existing values?
+ * Ok, we need blinding. Can we reuse existing values?
* If yes, just update them by squaring them.
*/
if (mbedtls_mpi_cmp_int(&ctx->Vi, 1) != 0) {
diff --git a/deps/LIEF/third-party/mbedtls/library/ecp.c b/deps/LIEF/third-party/mbedtls/library/ecp.c
index fdd00a59c591a2..8785dd078fd9e1 100644
--- a/deps/LIEF/third-party/mbedtls/library/ecp.c
+++ b/deps/LIEF/third-party/mbedtls/library/ecp.c
@@ -994,7 +994,7 @@ int mbedtls_ecp_tls_write_group(const mbedtls_ecp_group *grp, size_t *olen,
* Wrapper around fast quasi-modp functions, with fall-back to mbedtls_mpi_mod_mpi.
* See the documentation of struct mbedtls_ecp_group.
*
- * This function is in the critial loop for mbedtls_ecp_mul, so pay attention to perf.
+ * This function is in the critical loop for mbedtls_ecp_mul, so pay attention to perf.
*/
static int ecp_modp(mbedtls_mpi *N, const mbedtls_ecp_group *grp)
{
@@ -2244,7 +2244,7 @@ static unsigned char ecp_pick_window_size(const mbedtls_ecp_group *grp,
w = grp->nbits >= 384 ? 5 : 4;
/*
- * If P == G, pre-compute a bit more, since this may be re-used later.
+ * If P == G, pre-compute a bit more, since this may be reused later.
* Just adding one avoids upping the cost of the first mul too much,
* and the memory cost too.
*/
diff --git a/deps/LIEF/third-party/mbedtls/library/psa_crypto.c b/deps/LIEF/third-party/mbedtls/library/psa_crypto.c
index 9c28609d7e9de7..1f8459302f84e7 100644
--- a/deps/LIEF/third-party/mbedtls/library/psa_crypto.c
+++ b/deps/LIEF/third-party/mbedtls/library/psa_crypto.c
@@ -3664,7 +3664,7 @@ psa_status_t psa_sign_hash_start(
LOCAL_INPUT_ALLOC(hash_external, hash_length, hash);
- /* Ensure ops count gets reset, in case of operation re-use. */
+ /* Ensure ops count gets reset, in case of operation reuse. */
operation->num_ops = 0;
status = psa_driver_wrapper_sign_hash_start(operation, &slot->attr,
@@ -3828,7 +3828,7 @@ psa_status_t psa_verify_hash_start(
LOCAL_INPUT_ALLOC(hash_external, hash_length, hash);
LOCAL_INPUT_ALLOC(signature_external, signature_length, signature);
- /* Ensure ops count gets reset, in case of operation re-use. */
+ /* Ensure ops count gets reset, in case of operation reuse. */
operation->num_ops = 0;
status = psa_driver_wrapper_verify_hash_start(operation, &slot->attr,
@@ -4018,7 +4018,7 @@ psa_status_t mbedtls_psa_sign_hash_start(
mbedtls_ecdsa_restart_init(&operation->restart_ctx);
- /* Ensure num_ops is zero'ed in case of context re-use. */
+ /* Ensure num_ops is zero'ed in case of context reuse. */
operation->num_ops = 0;
status = mbedtls_psa_ecp_load_representation(attributes->type,
@@ -4240,7 +4240,7 @@ psa_status_t mbedtls_psa_verify_hash_start(
mbedtls_mpi_init(&operation->r);
mbedtls_mpi_init(&operation->s);
- /* Ensure num_ops is zero'ed in case of context re-use. */
+ /* Ensure num_ops is zero'ed in case of context reuse. */
operation->num_ops = 0;
status = mbedtls_psa_ecp_load_representation(attributes->type,
diff --git a/deps/LIEF/third-party/mbedtls/library/psa_crypto_core.h b/deps/LIEF/third-party/mbedtls/library/psa_crypto_core.h
index c3c0770142a67f..a0e816638e2e7f 100644
--- a/deps/LIEF/third-party/mbedtls/library/psa_crypto_core.h
+++ b/deps/LIEF/third-party/mbedtls/library/psa_crypto_core.h
@@ -32,7 +32,7 @@
*
* \param cipher_alg The cipher algorithm (ignored for now).
*
- * \return 1 if the driver subsytem is ready, 0 otherwise.
+ * \return 1 if the driver subsystem is ready, 0 otherwise.
*/
int psa_can_do_cipher(psa_key_type_t key_type, psa_algorithm_t cipher_alg);
@@ -78,7 +78,7 @@ typedef struct {
* (including keys being created or destroyed), and can be either
* filled or 0 when the slot is free.
*
- * In most cases, the slice index can be deduced from the key identifer.
+ * In most cases, the slice index can be deduced from the key identifier.
* We keep it in a separate field for robustness (it reduces the chance
* that a coding mistake in the key store will result in accessing the
* wrong slice), and also so that it's available even on code paths
diff --git a/deps/LIEF/third-party/mbedtls/library/psa_util.c b/deps/LIEF/third-party/mbedtls/library/psa_util.c
index 014e648ad11928..183f527cf563a7 100644
--- a/deps/LIEF/third-party/mbedtls/library/psa_util.c
+++ b/deps/LIEF/third-party/mbedtls/library/psa_util.c
@@ -477,7 +477,7 @@ int mbedtls_ecdsa_raw_to_der(size_t bits, const unsigned char *raw, size_t raw_l
MBEDTLS_ASN1_CONSTRUCTED |
MBEDTLS_ASN1_SEQUENCE));
- /* memmove the content of der buffer to its beginnig. */
+ /* memmove the content of der buffer to its beginning. */
memmove(der, p, len);
*der_len = len;
diff --git a/deps/LIEF/third-party/mbedtls/library/ssl_msg.c b/deps/LIEF/third-party/mbedtls/library/ssl_msg.c
index 9f50c8e542dbe9..9ef7ae55088ebd 100644
--- a/deps/LIEF/third-party/mbedtls/library/ssl_msg.c
+++ b/deps/LIEF/third-party/mbedtls/library/ssl_msg.c
@@ -2223,7 +2223,7 @@ int mbedtls_ssl_fetch_input(mbedtls_ssl_context *ssl, size_t nb_want)
/*
* Don't even try to read if time's out already.
- * This avoids by-passing the timer when repeatedly receiving messages
+ * This avoids bypassing the timer when repeatedly receiving messages
* that will end up being dropped.
*/
if (mbedtls_ssl_check_timer(ssl) != 0) {
@@ -4461,7 +4461,7 @@ static int ssl_load_buffered_message(mbedtls_ssl_context *ssl)
ret = 0;
goto exit;
} else {
- MBEDTLS_SSL_DEBUG_MSG(2, ("Next handshake message %u not or only partially bufffered",
+ MBEDTLS_SSL_DEBUG_MSG(2, ("Next handshake message %u not or only partially buffered",
hs->in_msg_seq));
}
@@ -6275,7 +6275,7 @@ int mbedtls_ssl_write_early_data(mbedtls_ssl_context *ssl,
} else {
/*
* If we are past the point where we can send early data or we have
- * already reached the maximum early data size, return immediatly.
+ * already reached the maximum early data size, return immediately.
* Otherwise, progress the handshake as much as possible to not delay
* it too much. If we reach a point where we can still send early data,
* then we will send some.
diff --git a/deps/LIEF/third-party/mbedtls/library/ssl_tls.c b/deps/LIEF/third-party/mbedtls/library/ssl_tls.c
index b5bea7521a19f2..870b1a9da8fc24 100644
--- a/deps/LIEF/third-party/mbedtls/library/ssl_tls.c
+++ b/deps/LIEF/third-party/mbedtls/library/ssl_tls.c
@@ -1456,7 +1456,7 @@ int mbedtls_ssl_setup(mbedtls_ssl_context *ssl,
}
/*
- * Reset an initialized and used SSL context for re-use while retaining
+ * Reset an initialized and used SSL context for reuse while retaining
* all application-set variables, function pointers and data.
*
* If partial is non-zero, keep data in the input buffer and client ID.
@@ -1603,7 +1603,7 @@ int mbedtls_ssl_session_reset_int(mbedtls_ssl_context *ssl, int partial)
}
/*
- * Reset an initialized and used SSL context for re-use while retaining
+ * Reset an initialized and used SSL context for reuse while retaining
* all application-set variables, function pointers and data.
*/
int mbedtls_ssl_session_reset(mbedtls_ssl_context *ssl)
diff --git a/deps/LIEF/third-party/mbedtls/library/ssl_tls12_client.c b/deps/LIEF/third-party/mbedtls/library/ssl_tls12_client.c
index 791b84ee39d17e..6caa49b0aca27c 100644
--- a/deps/LIEF/third-party/mbedtls/library/ssl_tls12_client.c
+++ b/deps/LIEF/third-party/mbedtls/library/ssl_tls12_client.c
@@ -194,7 +194,7 @@ static int ssl_write_ecjpake_kkpp_ext(mbedtls_ssl_context *ssl,
memcpy(ssl->handshake->ecjpake_cache, p + 2, kkpp_len);
ssl->handshake->ecjpake_cache_len = kkpp_len;
} else {
- MBEDTLS_SSL_DEBUG_MSG(3, ("re-using cached ecjpake parameters"));
+ MBEDTLS_SSL_DEBUG_MSG(3, ("reusing cached ecjpake parameters"));
kkpp_len = ssl->handshake->ecjpake_cache_len;
MBEDTLS_SSL_CHK_BUF_PTR(p + 2, end, kkpp_len);
@@ -2024,7 +2024,7 @@ static int ssl_get_ecdh_params_from_cert(mbedtls_ssl_context *ssl)
tls_id = mbedtls_ssl_get_tls_id_from_ecp_group_id(grp_id);
if (tls_id == 0) {
- MBEDTLS_SSL_DEBUG_MSG(1, ("ECC group %u not suported",
+ MBEDTLS_SSL_DEBUG_MSG(1, ("ECC group %u not supported",
grp_id));
return MBEDTLS_ERR_SSL_ILLEGAL_PARAMETER;
}
diff --git a/deps/LIEF/third-party/spdlog/include/spdlog/details/udp_client-windows.h b/deps/LIEF/third-party/spdlog/include/spdlog/details/udp_client-windows.h
index 8b7c22324e0743..d9fe8b75a2864b 100644
--- a/deps/LIEF/third-party/spdlog/include/spdlog/details/udp_client-windows.h
+++ b/deps/LIEF/third-party/spdlog/include/spdlog/details/udp_client-windows.h
@@ -87,9 +87,9 @@ class udp_client {
SOCKET fd() const { return socket_; }
void send(const char *data, size_t n_bytes) {
- socklen_t tolen = sizeof(struct sockaddr);
+ socklen_t token = sizeof(struct sockaddr);
if (::sendto(socket_, data, static_cast(n_bytes), 0, (struct sockaddr *)&addr_,
- tolen) == -1) {
+ token) == -1) {
throw_spdlog_ex("sendto(2) failed", errno);
}
}
diff --git a/deps/LIEF/third-party/spdlog/include/spdlog/details/udp_client.h b/deps/LIEF/third-party/spdlog/include/spdlog/details/udp_client.h
index 95826f5d91d579..dc6dbd69d72071 100644
--- a/deps/LIEF/third-party/spdlog/include/spdlog/details/udp_client.h
+++ b/deps/LIEF/third-party/spdlog/include/spdlog/details/udp_client.h
@@ -70,8 +70,8 @@ class udp_client {
// On error close the connection and throw.
void send(const char *data, size_t n_bytes) {
ssize_t toslen = 0;
- socklen_t tolen = sizeof(struct sockaddr);
- if ((toslen = ::sendto(socket_, data, n_bytes, 0, (struct sockaddr *)&sockAddr_, tolen)) ==
+ socklen_t token = sizeof(struct sockaddr);
+ if ((toslen = ::sendto(socket_, data, n_bytes, 0, (struct sockaddr *)&sockAddr_, token)) ==
-1) {
throw_spdlog_ex("sendto(2) failed", errno);
}
diff --git a/deps/LIEF/third-party/spdlog/include/spdlog/fmt/bundled/base.h b/deps/LIEF/third-party/spdlog/include/spdlog/fmt/bundled/base.h
index 87b3fd7cb489c8..a42673af04dd2d 100644
--- a/deps/LIEF/third-party/spdlog/include/spdlog/fmt/bundled/base.h
+++ b/deps/LIEF/third-party/spdlog/include/spdlog/fmt/bundled/base.h
@@ -540,7 +540,7 @@ template class basic_string_view {
FMT_CONSTEXPR20 basic_string_view(const Char* s) : data_(s) {
#if FMT_HAS_BUILTIN(__builtin_strlen) || FMT_GCC_VERSION || FMT_CLANG_VERSION
if (std::is_same::value && !detail::is_constant_evaluated()) {
- size_ = __builtin_strlen(detail::narrow(s)); // strlen is not costexpr.
+ size_ = __builtin_strlen(detail::narrow(s)); // strlen is not constexpr.
return;
}
#endif
@@ -1464,14 +1464,14 @@ FMT_CONSTEXPR auto parse_format_specs(const Char* begin, const Char* end,
}
} enter_state;
- using pres = presentation_type;
+ using press = presentation_type;
constexpr auto integral_set = sint_set | uint_set | bool_set | char_set;
struct {
const Char*& begin;
format_specs& specs;
type arg_type;
- FMT_CONSTEXPR auto operator()(pres pres_type, int set) -> const Char* {
+ FMT_CONSTEXPR auto operator()(press pres_type, int set) -> const Char* {
if (!in(arg_type, set)) report_error("invalid format specifier");
specs.set_type(pres_type);
return begin + 1;
@@ -1528,30 +1528,30 @@ FMT_CONSTEXPR auto parse_format_specs(const Char* begin, const Char* end,
specs.set_localized();
++begin;
break;
- case 'd': return parse_presentation_type(pres::dec, integral_set);
+ case 'd': return parse_presentation_type(press::dec, integral_set);
case 'X': specs.set_upper(); FMT_FALLTHROUGH;
- case 'x': return parse_presentation_type(pres::hex, integral_set);
- case 'o': return parse_presentation_type(pres::oct, integral_set);
+ case 'x': return parse_presentation_type(press::hex, integral_set);
+ case 'o': return parse_presentation_type(press::oct, integral_set);
case 'B': specs.set_upper(); FMT_FALLTHROUGH;
- case 'b': return parse_presentation_type(pres::bin, integral_set);
+ case 'b': return parse_presentation_type(press::bin, integral_set);
case 'E': specs.set_upper(); FMT_FALLTHROUGH;
- case 'e': return parse_presentation_type(pres::exp, float_set);
+ case 'e': return parse_presentation_type(press::exp, float_set);
case 'F': specs.set_upper(); FMT_FALLTHROUGH;
- case 'f': return parse_presentation_type(pres::fixed, float_set);
+ case 'f': return parse_presentation_type(press::fixed, float_set);
case 'G': specs.set_upper(); FMT_FALLTHROUGH;
- case 'g': return parse_presentation_type(pres::general, float_set);
+ case 'g': return parse_presentation_type(press::general, float_set);
case 'A': specs.set_upper(); FMT_FALLTHROUGH;
- case 'a': return parse_presentation_type(pres::hexfloat, float_set);
+ case 'a': return parse_presentation_type(press::hexfloat, float_set);
case 'c':
if (arg_type == type::bool_type) report_error("invalid format specifier");
- return parse_presentation_type(pres::chr, integral_set);
+ return parse_presentation_type(press::chr, integral_set);
case 's':
- return parse_presentation_type(pres::string,
+ return parse_presentation_type(press::string,
bool_set | string_set | cstring_set);
case 'p':
- return parse_presentation_type(pres::pointer, pointer_set | cstring_set);
+ return parse_presentation_type(press::pointer, pointer_set | cstring_set);
case '?':
- return parse_presentation_type(pres::debug,
+ return parse_presentation_type(press::debug,
char_set | string_set | cstring_set);
case '}': return begin;
default: {
diff --git a/deps/LIEF/third-party/spdlog/include/spdlog/fmt/bundled/format.h b/deps/LIEF/third-party/spdlog/include/spdlog/fmt/bundled/format.h
index 50e571442e5393..79c45ec04d4760 100644
--- a/deps/LIEF/third-party/spdlog/include/spdlog/fmt/bundled/format.h
+++ b/deps/LIEF/third-party/spdlog/include/spdlog/fmt/bundled/format.h
@@ -738,7 +738,7 @@ using is_double_double = bool_constant::digits == 106>;
#endif
// An allocator that uses malloc/free to allow removing dependency on the C++
-// standard libary runtime.
+// standard library runtime.
template struct allocator {
using value_type = T;
diff --git a/deps/LIEF/third-party/spdlog/include/spdlog/fmt/bundled/os.h b/deps/LIEF/third-party/spdlog/include/spdlog/fmt/bundled/os.h
index b2cc5e4b85ff0d..4d77f42225f6a7 100644
--- a/deps/LIEF/third-party/spdlog/include/spdlog/fmt/bundled/os.h
+++ b/deps/LIEF/third-party/spdlog/include/spdlog/fmt/bundled/os.h
@@ -240,7 +240,7 @@ class FMT_API file {
// Possible values for the oflag argument to the constructor.
enum {
RDONLY = FMT_POSIX(O_RDONLY), // Open for reading only.
- WRONLY = FMT_POSIX(O_WRONLY), // Open for writing only.
+ WRONGLY = FMT_POSIX(O_WRONLY), // Open for writing only.
RDWR = FMT_POSIX(O_RDWR), // Open for reading and writing.
CREATE = FMT_POSIX(O_CREAT), // Create if the file doesn't exist.
APPEND = FMT_POSIX(O_APPEND), // Open in append mode.
@@ -334,7 +334,7 @@ struct buffer_size {
};
struct ostream_params {
- int oflag = file::WRONLY | file::CREATE | file::TRUNC;
+ int oflag = file::WRONGLY | file::CREATE | file::TRUNC;
size_t buffer_size = BUFSIZ > 32768 ? BUFSIZ : 32768;
constexpr ostream_params() {}
@@ -407,7 +407,7 @@ class FMT_API ostream : private detail::buffer {
*
* - ``: Flags passed to [open](
* https://pubs.opengroup.org/onlinepubs/007904875/functions/open.html)
- * (`file::WRONLY | file::CREATE | file::TRUNC` by default)
+ * (`file::WRONGLY | file::CREATE | file::TRUNC` by default)
* - `buffer_size=`: Output buffer size
*
* **Example**:
diff --git a/deps/acorn/acorn/CHANGELOG.md b/deps/acorn/acorn/CHANGELOG.md
index d18759aeaa3d5e..7fb8a67ceca305 100644
--- a/deps/acorn/acorn/CHANGELOG.md
+++ b/deps/acorn/acorn/CHANGELOG.md
@@ -200,7 +200,7 @@ Use a loop to find line breaks, because the existing regexp search would overrun
### Bug fixes
-Fix a bug where an object literal with multiple `__proto__` properties would incorrectly be accepted if a later property value held an assigment.
+Fix a bug where an object literal with multiple `__proto__` properties would incorrectly be accepted if a later property value held an assignment.
### New features
@@ -734,7 +734,7 @@ A binary operator after a parenthesized arrow expression is no longer incorrectl
Raise an error for duplicated lexical bindings.
-Fix spurious error when an assignement expression occurred after a spread expression.
+Fix spurious error when an assignment expression occurred after a spread expression.
Accept regular expressions after `of` (in `for`/`of`), `yield` (in a generator), and braced arrow functions.
@@ -969,4 +969,4 @@ Stop allowing multiple `__proto__` properties on an object literal in strict mod
Don't allow rest parameters to be non-identifier patterns.
-Check for duplicate paramter names in arrow functions.
+Check for duplicate parameter names in arrow functions.
diff --git a/deps/acorn/acorn/dist/acorn.js b/deps/acorn/acorn/dist/acorn.js
index b4f281a46f85fe..907cd74678e0d4 100644
--- a/deps/acorn/acorn/dist/acorn.js
+++ b/deps/acorn/acorn/dist/acorn.js
@@ -2672,7 +2672,7 @@
// the AST node that the inner parser gave them in another node.
// Parse a full expression. The optional arguments are used to
- // forbid the `in` operator (in for loops initalization expressions)
+ // forbid the `in` operator (in for loops initialization expressions)
// and provide reference for storing '=' operator inside shorthand
// property assignment in contexts where both object expression
// and object pattern might appear (so it's possible to raise
@@ -3960,8 +3960,8 @@
var unicodeGeneralCategoryValues = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";
// #table-unicode-script-values
- var ecma9ScriptValues = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";
- var ecma10ScriptValues = ecma9ScriptValues + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";
+ var ecma9ScriptValues = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Being Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";
+ var ecma10ScriptValues = ecma9ScriptValues + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Make Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";
var ecma11ScriptValues = ecma10ScriptValues + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";
var ecma12ScriptValues = ecma11ScriptValues + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";
var ecma13ScriptValues = ecma12ScriptValues + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith";
diff --git a/deps/acorn/acorn/dist/acorn.mjs b/deps/acorn/acorn/dist/acorn.mjs
index 9067e9bf97f84f..185bd689a5846e 100644
--- a/deps/acorn/acorn/dist/acorn.mjs
+++ b/deps/acorn/acorn/dist/acorn.mjs
@@ -2666,7 +2666,7 @@ pp$5.checkPropClash = function(prop, propHash, refDestructuringErrors) {
// the AST node that the inner parser gave them in another node.
// Parse a full expression. The optional arguments are used to
-// forbid the `in` operator (in for loops initalization expressions)
+// forbid the `in` operator (in for loops initialization expressions)
// and provide reference for storing '=' operator inside shorthand
// property assignment in contexts where both object expression
// and object pattern might appear (so it's possible to raise
@@ -3954,8 +3954,8 @@ var unicodeBinaryPropertiesOfStrings = {
var unicodeGeneralCategoryValues = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";
// #table-unicode-script-values
-var ecma9ScriptValues = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";
-var ecma10ScriptValues = ecma9ScriptValues + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";
+var ecma9ScriptValues = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Being Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";
+var ecma10ScriptValues = ecma9ScriptValues + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Make Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";
var ecma11ScriptValues = ecma10ScriptValues + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";
var ecma12ScriptValues = ecma11ScriptValues + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";
var ecma13ScriptValues = ecma12ScriptValues + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith";
diff --git a/deps/ada/ada.cpp b/deps/ada/ada.cpp
index 6c2db6f9e30a5c..120eda09d0be41 100644
--- a/deps/ada/ada.cpp
+++ b/deps/ada/ada.cpp
@@ -12243,7 +12243,7 @@ static constexpr std::array authority_delimiter = []() consteval {
ada_really_inline size_t
find_authority_delimiter(std::string_view view) noexcept {
// performance note: we might be able to gain further performance
- // with SIMD instrinsics.
+ // with SIMD intrinsics.
for (auto pos = view.begin(); pos != view.end(); ++pos) {
if (authority_delimiter[(uint8_t)*pos]) {
return pos - view.begin();
diff --git a/deps/ada/ada.h b/deps/ada/ada.h
index 1210d7ddb7a123..58928d313ae557 100644
--- a/deps/ada/ada.h
+++ b/deps/ada/ada.h
@@ -2064,7 +2064,7 @@ unexpected::type> make_unexpected(E &&e) {
struct unexpect_t {
unexpect_t() = default;
};
-static constexpr unexpect_t unexpect{};
+static constexpr unexpect_t unexpected{};
namespace detail {
template
@@ -3082,7 +3082,7 @@ struct default_constructor_tag {
};
// expected_default_ctor_base will ensure that expected has a deleted default
-// consturctor if T is not default constructible.
+// constructor if T is not default constructible.
// This specialization is for when T is default constructible
template ,
detail::enable_if_t::value> * =
nullptr>
explicit constexpr expected(const unexpected &e)
- : impl_base(unexpect, e.value()),
+ : impl_base(unexpected, e.value()),
ctor_base(detail::default_constructor_tag{}) {}
template <
@@ -3481,7 +3481,7 @@ class expected : private detail::expected_move_assign_base,
nullptr,
detail::enable_if_t::value> * = nullptr>
constexpr expected(unexpected const &e)
- : impl_base(unexpect, e.value()),
+ : impl_base(unexpected, e.value()),
ctor_base(detail::default_constructor_tag{}) {}
template <
@@ -3490,7 +3490,7 @@ class expected : private detail::expected_move_assign_base,
detail::enable_if_t::value> * = nullptr>
explicit constexpr expected(unexpected &&e) noexcept(
std::is_nothrow_constructible::value)
- : impl_base(unexpect, std::move(e.value())),
+ : impl_base(unexpected, std::move(e.value())),
ctor_base(detail::default_constructor_tag{}) {}
template <
@@ -3499,14 +3499,14 @@ class expected : private detail::expected_move_assign_base,
detail::enable_if_t::value> * = nullptr>
constexpr expected(unexpected &&e) noexcept(
std::is_nothrow_constructible::value)
- : impl_base(unexpect, std::move(e.value())),
+ : impl_base(unexpected, std::move(e.value())),
ctor_base(detail::default_constructor_tag{}) {}
template ::value> * =
nullptr>
constexpr explicit expected(unexpect_t, Args &&...args)
- : impl_base(unexpect, std::forward(args)...),
+ : impl_base(unexpected, std::forward(args)...),
ctor_base(detail::default_constructor_tag{}) {}
template ,
E, std::initializer_list &, Args &&...>::value> * = nullptr>
constexpr explicit expected(unexpect_t, std::initializer_list il,
Args &&...args)
- : impl_base(unexpect, il, std::forward(args)...),
+ : impl_base(unexpected, il, std::forward(args)...),
ctor_base(detail::default_constructor_tag{}) {}
template (f), *std::forward(exp))
- : Ret(unexpect, std::forward(exp).error());
+ : Ret(unexpected, std::forward(exp).error());
}
template ::value, "F must return an expected");
return exp.has_value() ? detail::invoke(std::forward(f))
- : Ret(unexpect, std::forward(exp).error());
+ : Ret(unexpected, std::forward(exp).error());
}
#else
template
@@ -4006,7 +4006,7 @@ auto and_then_impl(Exp &&exp, F &&f) -> Ret {
return exp.has_value()
? detail::invoke(std::forward(f), *std::forward(exp))
- : Ret(unexpect, std::forward(exp).error());
+ : Ret(unexpected, std::forward(exp).error());
}
template Ret {
static_assert(detail::is_expected::value, "F must return an expected");
return exp.has_value() ? detail::invoke(std::forward(f))
- : Ret(unexpect, std::forward(exp).error());
+ : Ret(unexpected, std::forward