From ab1bb59aae0e85c1539f7793e8be45fbdb860158 Mon Sep 17 00:00:00 2001 From: widberg Date: Wed, 6 Aug 2025 12:09:39 -0400 Subject: [PATCH] [docs] Rename USERDEFINED to CALLOTHER --- Ghidra/Features/Decompiler/src/main/doc/pcoderef.xml | 10 +++++----- Ghidra/Features/Decompiler/src/main/doc/sleigh.xml | 4 ++-- GhidraDocs/languages/html/pcoderef.html | 2 +- GhidraDocs/languages/html/pseudo-ops.html | 8 ++++---- GhidraDocs/languages/html/sleigh_ref.html | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Ghidra/Features/Decompiler/src/main/doc/pcoderef.xml b/Ghidra/Features/Decompiler/src/main/doc/pcoderef.xml index 24bdaed3c8..670e372c29 100644 --- a/Ghidra/Features/Decompiler/src/main/doc/pcoderef.xml +++ b/Ghidra/Features/Decompiler/src/main/doc/pcoderef.xml @@ -60,7 +60,7 @@ - USERDEFINED + CALLOTHER INT_AND FLOAT_DIV @@ -3388,9 +3388,9 @@ either the operator is just carried through as a black-box or it serves as a plu substitution or other specially tailored transformation. Pseudo operators may violate the requirement placed on other p-code operations that all effects must be explicit. -USERDEFINED +CALLOTHER - +
@@ -3443,14 +3443,14 @@ This is a placeholder for (a family of) user-definable p-code instructions. It allows p-code instructions to be defined with semantic actions that are not fully specified. Machine instructions that are too complicated or too esoteric to fully implement can use -one or more USERDEFINED instructions +one or more CALLOTHER instructions as placeholders for their semantics. The first input parameter input0 is a constant ID assigned by the specification to a particular semantic action. Depending on how the specification defines the action associated with the ID, -the USERDEFINED instruction can take +the CALLOTHER instruction can take an arbitrary number of input parameters and optionally have an output parameter. Exact details are processor and specification dependent. Ideally, the output parameter is determined by the input diff --git a/Ghidra/Features/Decompiler/src/main/doc/sleigh.xml b/Ghidra/Features/Decompiler/src/main/doc/sleigh.xml index d4af0e8599..5dcd1559fe 100644 --- a/Ghidra/Features/Decompiler/src/main/doc/sleigh.xml +++ b/Ghidra/Features/Decompiler/src/main/doc/sleigh.xml @@ -4299,7 +4299,7 @@ to lowest. - + @@ -4355,7 +4355,7 @@ The following table lists the basic forms of a semantic statement. - + diff --git a/GhidraDocs/languages/html/pcoderef.html b/GhidraDocs/languages/html/pcoderef.html index 485d45f828..ff2043bffd 100644 --- a/GhidraDocs/languages/html/pcoderef.html +++ b/GhidraDocs/languages/html/pcoderef.html @@ -87,7 +87,7 @@ - + diff --git a/GhidraDocs/languages/html/pseudo-ops.html b/GhidraDocs/languages/html/pseudo-ops.html index bbcc9f6516..f4e25e24c3 100644 --- a/GhidraDocs/languages/html/pseudo-ops.html +++ b/GhidraDocs/languages/html/pseudo-ops.html @@ -38,9 +38,9 @@ placed on other p-code operations that all effects must be explicit.

-USERDEFINED

+CALLOTHER
-
Allocate object of type described by v0.
USER_DEFINEDCALLOTHER ident(v0,...) User defined operator ident, with functional syntax.
USER_DEFINEDCALLOTHER ident(v0,...); Invoke user-defined operation ident as a standalone statement, with no output.
USERDEFINEDCALLOTHER INT_AND FLOAT_DIV
+
@@ -91,14 +91,14 @@ This is a placeholder for (a family of) user-definable p-code instructions. It allows p-code instructions to be defined with semantic actions that are not fully specified. Machine instructions that are too complicated or too esoteric to fully implement can use -one or more USERDEFINED instructions +one or more CALLOTHER instructions as placeholders for their semantics.

The first input parameter input0 is a constant ID assigned by the specification to a particular semantic action. Depending on how the specification defines the action associated with the ID, -the USERDEFINED instruction can take +the CALLOTHER instruction can take an arbitrary number of input parameters and optionally have an output parameter. Exact details are processor and specification dependent. Ideally, the output parameter is determined by the input diff --git a/GhidraDocs/languages/html/sleigh_ref.html b/GhidraDocs/languages/html/sleigh_ref.html index b21fc5f37d..759695d67a 100644 --- a/GhidraDocs/languages/html/sleigh_ref.html +++ b/GhidraDocs/languages/html/sleigh_ref.html @@ -443,7 +443,7 @@ to lowest.

- + @@ -502,7 +502,7 @@ The following table lists the basic forms of a semantic statement. - +
Allocate object of type described by v0.
USER_DEFINEDCALLOTHER ident(v0,...) User defined operator ident, with functional syntax.
USER_DEFINEDCALLOTHER ident(v0,...); Invoke user-defined operation ident as a standalone statement, with no output.