mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-21 19:42:14 +00:00
Add support for FreeBSD ARM 64bit (no debugger support)
This commit is contained in:
parent
147c5e58e1
commit
e7aabddb34
@ -82,6 +82,7 @@ model {
|
|||||||
targetPlatform "mac_x86_64"
|
targetPlatform "mac_x86_64"
|
||||||
targetPlatform "mac_arm_64"
|
targetPlatform "mac_arm_64"
|
||||||
targetPlatform "freebsd_x86_64"
|
targetPlatform "freebsd_x86_64"
|
||||||
|
targetPlatform "freebsd_arm_64"
|
||||||
sources {
|
sources {
|
||||||
c {
|
c {
|
||||||
source {
|
source {
|
||||||
@ -104,6 +105,7 @@ model {
|
|||||||
targetPlatform "mac_x86_64"
|
targetPlatform "mac_x86_64"
|
||||||
targetPlatform "mac_arm_64"
|
targetPlatform "mac_arm_64"
|
||||||
targetPlatform "freebsd_x86_64"
|
targetPlatform "freebsd_x86_64"
|
||||||
|
targetPlatform "freebsd_arm_64"
|
||||||
sources {
|
sources {
|
||||||
c {
|
c {
|
||||||
source {
|
source {
|
||||||
|
@ -54,7 +54,11 @@ model {
|
|||||||
}
|
}
|
||||||
if (isCurrentFreeBSD()) {
|
if (isCurrentFreeBSD()) {
|
||||||
gcc(Gcc) {
|
gcc(Gcc) {
|
||||||
target("freebsd_x86_64")
|
if (isCurrentArm_64()) {
|
||||||
|
target("freebsd_arm_64")
|
||||||
|
} else {
|
||||||
|
target("freebsd_x86_64")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (isCurrentWindows() && VISUAL_STUDIO_INSTALL_DIR) {
|
if (isCurrentWindows() && VISUAL_STUDIO_INSTALL_DIR) {
|
||||||
|
@ -25,7 +25,8 @@ project.ext.PLATFORMS = [
|
|||||||
[name: "linux_arm_64", os: "linux", arch: "arm64"],
|
[name: "linux_arm_64", os: "linux", arch: "arm64"],
|
||||||
[name: "mac_x86_64", os: "osx", arch: "x86_64"],
|
[name: "mac_x86_64", os: "osx", arch: "x86_64"],
|
||||||
[name: "mac_arm_64", os: "osx", arch: "arm64"],
|
[name: "mac_arm_64", os: "osx", arch: "arm64"],
|
||||||
[name: "freebsd_x86_64", os: "freebsd", arch: "x86_64"]
|
[name: "freebsd_x86_64", os: "freebsd", arch: "x86_64"],
|
||||||
|
[name: "freebsd_arm_64", os: "freebsd", arch: "arm64"]
|
||||||
]
|
]
|
||||||
|
|
||||||
/*********************************************************************************
|
/*********************************************************************************
|
||||||
|
@ -43,6 +43,7 @@ model {
|
|||||||
targetPlatform "mac_x86_64"
|
targetPlatform "mac_x86_64"
|
||||||
targetPlatform "mac_arm_64"
|
targetPlatform "mac_arm_64"
|
||||||
targetPlatform "freebsd_x86_64"
|
targetPlatform "freebsd_x86_64"
|
||||||
|
targetPlatform "freebsd_arm_64"
|
||||||
sources {
|
sources {
|
||||||
cpp {
|
cpp {
|
||||||
// NOTE: The bison/flex generated files are assumed to be up-to-date.
|
// NOTE: The bison/flex generated files are assumed to be up-to-date.
|
||||||
@ -149,6 +150,7 @@ model {
|
|||||||
targetPlatform "mac_x86_64"
|
targetPlatform "mac_x86_64"
|
||||||
targetPlatform "mac_arm_64"
|
targetPlatform "mac_arm_64"
|
||||||
targetPlatform "freebsd_x86_64"
|
targetPlatform "freebsd_x86_64"
|
||||||
|
targetPlatform "freebsd_arm_64"
|
||||||
sources {
|
sources {
|
||||||
cpp {
|
cpp {
|
||||||
// NOTE: The bison/flex generated files are assumed to be up-to-date.
|
// NOTE: The bison/flex generated files are assumed to be up-to-date.
|
||||||
|
@ -70,6 +70,11 @@ public enum Platform {
|
|||||||
*/
|
*/
|
||||||
FREEBSD_X86_64(OperatingSystem.FREE_BSD, Architecture.X86_64, "freebsd_x86_64", ".so", ""),
|
FREEBSD_X86_64(OperatingSystem.FREE_BSD, Architecture.X86_64, "freebsd_x86_64", ".so", ""),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Identifies a FreeBSD ARM 64-bit OS.
|
||||||
|
*/
|
||||||
|
FREEBSD_ARM_64(OperatingSystem.FREE_BSD, Architecture.ARM_64, "freebsd_arm_64", ".so", ""),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Identifies an unsupported OS.
|
* Identifies an unsupported OS.
|
||||||
*/
|
*/
|
||||||
|
@ -317,6 +317,7 @@ Ghidra release includes native binaries for the following platforms:</p>
|
|||||||
<ul>
|
<ul>
|
||||||
<li>Linux ARM 64-bit</li>
|
<li>Linux ARM 64-bit</li>
|
||||||
<li>FreeBSD x86 64-bit (no debugger support)</li>
|
<li>FreeBSD x86 64-bit (no debugger support)</li>
|
||||||
|
<li>FreeBSD arm 64-bit (no debugger support)</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>In order to build native binaries for your platform, you will need the following installed on your
|
<p>In order to build native binaries for your platform, you will need the following installed on your
|
||||||
system:</p>
|
system:</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user