Skip to content

Commit f003b3a

Browse files
committed
Fix capitalization of AArch64.
1 parent 15bc10a commit f003b3a

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

arch/arm64/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# arch-arm64
22

3-
This is the Aarch64 plugin that ships with Binary Ninja.
3+
This is the AArch64 plugin that ships with Binary Ninja.
44

55
## What's What
66

arch/arm64/arch_arm64.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ static const char* GetRelocationString(MachoArm64RelocationType rel)
148148
{
149149
return relocTable[rel];
150150
}
151-
return "Unknown Aarch64 relocation";
151+
return "Unknown AArch64 relocation";
152152
}
153153

154154

@@ -179,7 +179,7 @@ static const char* GetRelocationString(PeArm64RelocationType rel)
179179
{
180180
return relocTable[rel];
181181
}
182-
return "Unknown Aarch64 relocation";
182+
return "Unknown AArch64 relocation";
183183
}
184184

185185

@@ -257,7 +257,7 @@ static const char* GetRelocationString(ElfArm64RelocationType rel)
257257
if (relocMap.count(rel))
258258
return relocMap.at(rel);
259259

260-
return "Unknown Aarch64 relocation";
260+
return "Unknown AArch64 relocation";
261261
}
262262

263263

@@ -3431,20 +3431,20 @@ class Arm64COFFRelocationHandler: public RelocationHandler
34313431
};
34323432

34333433

3434-
static void InitAarch64Settings()
3434+
static void InitAArch64Settings()
34353435
{
34363436
Ref<Settings> settings = Settings::Instance();
34373437

34383438
settings->RegisterSetting("arch.aarch64.disassembly.alignRequired",
34393439
R"({
3440-
"title" : "AARCH64 Alignment Requirement",
3440+
"title" : "AArch64 Alignment Requirement",
34413441
"type" : "boolean",
34423442
"default" : true,
34433443
"description" : "Require instructions be on 4-byte aligned addresses to be disassembled."
34443444
})");
34453445
settings->RegisterSetting("arch.aarch64.disassembly.preferIntrinsics",
34463446
R"({
3447-
"title" : "AARCH64 Prefer Intrinsics for Vector Operations",
3447+
"title" : "AArch64 Prefer Intrinsics for Vector Operations",
34483448
"type" : "boolean",
34493449
"default" : true,
34503450
"description" : "Prefer generating calls to intrinsics (where one is available) to lifting vector operations as unrolled loops (where available). Note that not all vector operations are currently lifted as either intrinsics or unrolled loops."
@@ -3471,7 +3471,7 @@ extern "C"
34713471
BINARYNINJAPLUGIN bool CorePluginInit()
34723472
#endif
34733473
{
3474-
InitAarch64Settings();
3474+
InitAArch64Settings();
34753475

34763476
Architecture* arm64 = new Arm64Architecture();
34773477

plugins/dwarf/dwarf_export/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,8 +605,8 @@ fn present_form(bv_arch: &str) -> Vec<FormResponses> {
605605
// TODO : Choose to export types/functions/etc
606606
let archs = [
607607
"Unknown",
608-
"Aarch64",
609-
"Aarch64_Ilp32",
608+
"AArch64",
609+
"AArch64_Ilp32",
610610
"Arm",
611611
"Avr",
612612
"Bpf",

view/macho/machoview.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ MachOHeader MachoView::HeaderForAddress(BinaryView* data, uint64_t address, bool
750750
break;
751751
case MachOAarch64:
752752
case MachOAarch6432:
753-
m_logger->LogDebug("Aarch64 Thread state\n");
753+
m_logger->LogDebug("AArch64 Thread state\n");
754754
if (thread.flavor != _ARM_THREAD_STATE64)
755755
{
756756
reader.SeekRelative(thread.count * sizeof(uint32_t));

0 commit comments

Comments
 (0)