From 0054de493656a94a6b462472b1bb334254cada75 Mon Sep 17 00:00:00 2001 From: dev747368 <48332326+dev747368@users.noreply.github.com> Date: Fri, 3 May 2024 19:08:00 +0000 Subject: [PATCH] GP-4579 Add golang 1.22 --- Ghidra/Features/Base/certification.manifest | 1 + .../typeinfo/golang/golang_1.22_anybit_any.gdt | Bin 0 -> 11955 bytes .../core/datamgr/DataTypeArchiveIDTest.java | 1 + .../data/languages/AARCH64_golang.register.info | 2 +- .../data/languages/x86-64-golang.register.info | 2 +- 5 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 Ghidra/Features/Base/data/typeinfo/golang/golang_1.22_anybit_any.gdt diff --git a/Ghidra/Features/Base/certification.manifest b/Ghidra/Features/Base/certification.manifest index c93987664b..5e3032fd05 100644 --- a/Ghidra/Features/Base/certification.manifest +++ b/Ghidra/Features/Base/certification.manifest @@ -92,6 +92,7 @@ data/typeinfo/golang/golang_1.18_anybit_any.gdt||GHIDRA||||END| data/typeinfo/golang/golang_1.19_anybit_any.gdt||GHIDRA||||END| data/typeinfo/golang/golang_1.20_anybit_any.gdt||GHIDRA||||END| data/typeinfo/golang/golang_1.21_anybit_any.gdt||GHIDRA||||END| +data/typeinfo/golang/golang_1.22_anybit_any.gdt||GHIDRA||||END| data/typeinfo/golang/runtimesnapshot.go||GHIDRA||||END| data/typeinfo/mac_10.9/mac_osx.gdt||GHIDRA||||END| data/typeinfo/rust/rust-common.gdt||GHIDRA||||END| diff --git a/Ghidra/Features/Base/data/typeinfo/golang/golang_1.22_anybit_any.gdt b/Ghidra/Features/Base/data/typeinfo/golang/golang_1.22_anybit_any.gdt new file mode 100644 index 0000000000000000000000000000000000000000..b4a63fd29003f79f21ded6a399e3266fb7f2de59 GIT binary patch literal 11955 zcma)i2UJtdx38akh=__E1tmy_2vHD_B2no@ks5)JC{??c2B9j(dLPKVJM!MfiVX zD@#Ko8?>37(Z$6~;fzds?DwfgMpln|wdIQ^9~675tgI~6_T^sV)&MD|6g;}5tgd$S5L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ghidra/Processors/x86/data/languages/x86-64-golang.register.info index b9233453ad..49222ecea8 100644 --- a/Ghidra/Processors/x86/data/languages/x86-64-golang.register.info +++ b/Ghidra/Processors/x86/data/languages/x86-64-golang.register.info @@ -1,6 +1,6 @@ - +