Ghidra is a software reverse engineering (SRE) framework
GP-5648: Certification header support for .bat and .ps1 files
Ryan Kurtzcdc5af10e47b
diff --git a/Ghidra/Debug/Debugger-agent-dbgeng/certification.manifest b/Ghidra/Debug/Debugger-agent-dbgeng/certification.manifestindex 25f327909f..1634305df4 100644--- a/Ghidra/Debug/Debugger-agent-dbgeng/certification.manifest+++ b/Ghidra/Debug/Debugger-agent-dbgeng/certification.manifest@@ -3,13 +3,6 @@##MODULE IP: MITModule.manifest||GHIDRA||||END|README.md||GHIDRA||||END|-data/debugger-launchers/kernel-dbgeng.bat||GHIDRA||||END|-data/debugger-launchers/local-dbgeng-attach.bat||GHIDRA||||END|-data/debugger-launchers/local-dbgeng-ext.bat||GHIDRA||||END|-data/debugger-launchers/local-dbgeng-trace.bat||GHIDRA||||END|-data/debugger-launchers/local-dbgeng.bat||GHIDRA||||END|-data/debugger-launchers/remote-dbgeng.bat||GHIDRA||||END|-data/debugger-launchers/svrcx-dbgeng.bat||GHIDRA||||END|src/main/help/help/TOC_Source.xml||GHIDRA||||END|src/main/help/help/topics/dbgeng/dbgeng.html||GHIDRA||||END|src/main/py/LICENSE||GHIDRA||||END|diff --git a/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/kernel-dbgeng.bat b/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/kernel-dbgeng.batindex f454e638b0..f7a2ac34ca 100644--- a/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/kernel-dbgeng.bat+++ b/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/kernel-dbgeng.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##::@title dbgeng kernel::@desc <html><body width="300px">::@desc <h3>Kernel debugging using <tt>dbgeng</tt> (in a Python interpreter)</h3>diff --git a/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/local-dbgeng-attach.bat b/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/local-dbgeng-attach.batindex fa79e59322..4683d2efc8 100644--- a/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/local-dbgeng-attach.bat+++ b/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/local-dbgeng-attach.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##::@title dbgeng attach::@desc <html><body width="300px">::@desc <h3>Attach with <tt>dbgeng</tt> (in a Python interpreter)</h3>diff --git a/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/local-dbgeng-ext.bat b/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/local-dbgeng-ext.batindex 9f4330ad91..30e4433a37 100644--- a/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/local-dbgeng-ext.bat+++ b/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/local-dbgeng-ext.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##::@title dbgeng extra options::@image-opt env:OPT_TARGET_IMG::@desc <html><body width="300px">diff --git a/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/local-dbgeng-trace.bat b/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/local-dbgeng-trace.batindex fa1e4708d9..50c3634cd4 100644--- a/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/local-dbgeng-trace.bat+++ b/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/local-dbgeng-trace.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##::@title dbgeng TTD::@desc <html><body width="300px">::@desc <h3>Open trace with <tt>dbgeng</tt> (in a Python interpreter)</h3>diff --git a/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/local-dbgeng.bat b/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/local-dbgeng.batindex f2a17af3e9..3f30bb48cd 100644--- a/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/local-dbgeng.bat+++ b/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/local-dbgeng.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##::@title dbgeng::@image-opt env:OPT_TARGET_IMG::@desc <html><body width="300px">diff --git a/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/remote-dbgeng.bat b/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/remote-dbgeng.batindex d54cd208d3..48e543b597 100644--- a/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/remote-dbgeng.bat+++ b/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/remote-dbgeng.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##::@title dbgeng remote::@desc <html><body width="300px">::@desc <h3>Connect to a remote debugger (via the .server interface)</h3>diff --git a/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/svrcx-dbgeng.bat b/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/svrcx-dbgeng.batindex f87bae0516..e1d6834150 100644--- a/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/svrcx-dbgeng.bat+++ b/Ghidra/Debug/Debugger-agent-dbgeng/data/debugger-launchers/svrcx-dbgeng.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##::@title dbgeng svrcx::@image-opt env:OPT_TARGET_IMG::@desc <html><body width="300px">diff --git a/Ghidra/Debug/Debugger-agent-gdb/certification.manifest b/Ghidra/Debug/Debugger-agent-gdb/certification.manifestindex 97d4475c6b..c6aac33ff6 100644--- a/Ghidra/Debug/Debugger-agent-gdb/certification.manifest+++ b/Ghidra/Debug/Debugger-agent-gdb/certification.manifest@@ -2,16 +2,10 @@##MODULE IP: JSch LicenseModule.manifest||GHIDRA||||END|README.md||GHIDRA||||END|-data/debugger-launchers/local-gdb.ps1||GHIDRA||||END|-data/debugger-launchers/qemu-sys-gdb.ps1||GHIDRA||||END|-data/debugger-launchers/remote-gdb.ps1||GHIDRA||||END|-data/debugger-launchers/ssh-gdb.ps1||GHIDRA||||END|-data/debugger-launchers/ssh-gdbserver.ps1||GHIDRA||||END|data/scripts/fallback_info_proc_mappings.gdb||GHIDRA||||END|data/scripts/fallback_maintenance_info_sections.gdb||GHIDRA||||END|data/scripts/getpid-linux-i386.gdb||GHIDRA||||END|data/scripts/wine32_info_proc_mappings.gdb||GHIDRA||||END|-data/support/gdbsetuputils.ps1||GHIDRA||||END|src/main/help/help/TOC_Source.xml||GHIDRA||||END|src/main/help/help/topics/gdb/gdb.html||GHIDRA||||END|src/main/help/help/topics/gdb/images/GdbLauncher.png||GHIDRA||||END|diff --git a/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/local-gdb.ps1 b/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/local-gdb.ps1index 3b43315a3c..4b44c1632a 100644--- a/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/local-gdb.ps1+++ b/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/local-gdb.ps1@@ -1,3 +1,18 @@+## ###+# IP: GHIDRA+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+###@title gdb#@image-opt arg:1#@desc <html><body width="300px">diff --git a/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/qemu-sys-gdb.ps1 b/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/qemu-sys-gdb.ps1index 299d93a1a3..249bc91518 100644--- a/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/qemu-sys-gdb.ps1+++ b/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/qemu-sys-gdb.ps1@@ -1,3 +1,18 @@+## ###+# IP: GHIDRA+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+###@title gdb + qemu-system#@image-opt env:OPT_TARGET_IMG#@desc <html><body width="300px">diff --git a/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/remote-gdb.ps1 b/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/remote-gdb.ps1index fab6f3cc16..1d6ec9585a 100644--- a/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/remote-gdb.ps1+++ b/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/remote-gdb.ps1@@ -1,3 +1,18 @@+## ###+# IP: GHIDRA+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+###@title gdb remote#@image-opt arg:1#@desc <html><body width="300px">diff --git a/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/ssh-gdb.ps1 b/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/ssh-gdb.ps1index cc6474cde5..52c1f30c42 100644--- a/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/ssh-gdb.ps1+++ b/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/ssh-gdb.ps1@@ -1,3 +1,18 @@+## ###+# IP: GHIDRA+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+###@timeout 60000#@title gdb via ssh#@image-opt arg:1diff --git a/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/ssh-gdbserver.ps1 b/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/ssh-gdbserver.ps1index 12c5b08060..1e7b598f60 100644--- a/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/ssh-gdbserver.ps1+++ b/Ghidra/Debug/Debugger-agent-gdb/data/debugger-launchers/ssh-gdbserver.ps1@@ -1,3 +1,18 @@+## ###+# IP: GHIDRA+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+###@timeout 60000#@title gdb + gdbserver via ssh#@image-opt arg:1diff --git a/Ghidra/Debug/Debugger-agent-gdb/data/support/gdbsetuputils.ps1 b/Ghidra/Debug/Debugger-agent-gdb/data/support/gdbsetuputils.ps1index 32f8962900..e39e313e87 100644--- a/Ghidra/Debug/Debugger-agent-gdb/data/support/gdbsetuputils.ps1+++ b/Ghidra/Debug/Debugger-agent-gdb/data/support/gdbsetuputils.ps1@@ -1,4 +1,18 @@-+## ###+# IP: GHIDRA+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+##. ..\..\..\Debugger-rmi-trace\data\support\setuputils.ps1function Add-Gdb-Init-Args {diff --git a/Ghidra/Debug/Debugger-agent-lldb/certification.manifest b/Ghidra/Debug/Debugger-agent-lldb/certification.manifestindex 9178e37035..4491d87e61 100644--- a/Ghidra/Debug/Debugger-agent-lldb/certification.manifest+++ b/Ghidra/Debug/Debugger-agent-lldb/certification.manifest@@ -4,12 +4,6 @@Module.manifest||GHIDRA||||END|README.md||GHIDRA||||END|build.gradle||GHIDRA||||END|-data/debugger-launchers/android-lldb.ps1||GHIDRA||||END|-data/debugger-launchers/kernel-lldb.ps1||GHIDRA||||END|-data/debugger-launchers/local-lldb.ps1||GHIDRA||||END|-data/debugger-launchers/remote-lldb.ps1||GHIDRA||||END|-data/debugger-launchers/ssh-lldb.ps1||GHIDRA||||END|-data/support/lldbsetuputils.ps1||GHIDRA||||END|src/main/help/help/TOC_Source.xml||GHIDRA||||END|src/main/help/help/topics/lldb/lldb.html||GHIDRA||||END|src/main/py/LICENSE||GHIDRA||||END|diff --git a/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/android-lldb.ps1 b/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/android-lldb.ps1index 4cb31d104b..6943baf2a3 100644--- a/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/android-lldb.ps1+++ b/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/android-lldb.ps1@@ -1,3 +1,18 @@+## ###+# IP: GHIDRA+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+###@title lldb Android#@image-opt arg:1#@desc <html><body width="300px">diff --git a/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/kernel-lldb.ps1 b/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/kernel-lldb.ps1index faf22b61eb..3bc3f402a4 100644--- a/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/kernel-lldb.ps1+++ b/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/kernel-lldb.ps1@@ -1,3 +1,18 @@+## ###+# IP: GHIDRA+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+###@title lldb kernel (kdp)#@desc <html><body width="300px">#@desc <h3>Launch with local <tt>lldb</tt> and connect to a remote kernel</h3>diff --git a/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/local-lldb.ps1 b/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/local-lldb.ps1index 51ce6b9bd7..3a250451b0 100644--- a/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/local-lldb.ps1+++ b/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/local-lldb.ps1@@ -1,3 +1,18 @@+## ###+# IP: GHIDRA+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+###@title lldb#@image-opt arg:1#@desc <html><body width="300px">diff --git a/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/remote-lldb.ps1 b/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/remote-lldb.ps1index a4fd41666d..e94cb07381 100644--- a/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/remote-lldb.ps1+++ b/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/remote-lldb.ps1@@ -1,3 +1,18 @@+## ###+# IP: GHIDRA+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+###@title lldb remote (gdb)#@image-opt arg:1#@desc <html><body width="300px">diff --git a/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/ssh-lldb.ps1 b/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/ssh-lldb.ps1index 4ddc7bf771..194ad80e2a 100644--- a/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/ssh-lldb.ps1+++ b/Ghidra/Debug/Debugger-agent-lldb/data/debugger-launchers/ssh-lldb.ps1@@ -1,3 +1,18 @@+## ###+# IP: GHIDRA+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+###@timeout 60000#@title lldb via ssh#@image-opt arg:1diff --git a/Ghidra/Debug/Debugger-agent-lldb/data/support/lldbsetuputils.ps1 b/Ghidra/Debug/Debugger-agent-lldb/data/support/lldbsetuputils.ps1index f83e8d42e4..3af4bfbaee 100644--- a/Ghidra/Debug/Debugger-agent-lldb/data/support/lldbsetuputils.ps1+++ b/Ghidra/Debug/Debugger-agent-lldb/data/support/lldbsetuputils.ps1@@ -1,4 +1,18 @@-+## ###+# IP: GHIDRA+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+##. ..\..\..\Debugger-rmi-trace\data\support\setuputils.ps1function Add-Lldb-Init-Args {diff --git a/Ghidra/Debug/Debugger-rmi-trace/certification.manifest b/Ghidra/Debug/Debugger-rmi-trace/certification.manifestindex 3d590fe366..596d5a3829 100644--- a/Ghidra/Debug/Debugger-rmi-trace/certification.manifest+++ b/Ghidra/Debug/Debugger-rmi-trace/certification.manifest@@ -5,7 +5,6 @@ DEVNOTES.txt||GHIDRA||||END|Module.manifest||GHIDRA||||END|README.md||GHIDRA||||END|data/ExtensionPoint.manifest||GHIDRA||||END|-data/support/setuputils.ps1||GHIDRA||||END|src/main/help/help/TOC_Source.xml||GHIDRA||||END|src/main/help/help/topics/TraceRmiConnectionManagerPlugin/TraceRmiConnectionManagerPlugin.html||GHIDRA||||END|src/main/help/help/topics/TraceRmiConnectionManagerPlugin/images/ConnectDialog.png||GHIDRA||||END|diff --git a/Ghidra/Debug/Debugger-rmi-trace/data/support/setuputils.ps1 b/Ghidra/Debug/Debugger-rmi-trace/data/support/setuputils.ps1index b4e050f88d..e8dfad0ab6 100644--- a/Ghidra/Debug/Debugger-rmi-trace/data/support/setuputils.ps1+++ b/Ghidra/Debug/Debugger-rmi-trace/data/support/setuputils.ps1@@ -1,3 +1,18 @@+## ###+# IP: GHIDRA+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.+##function Find-App-Properties {[IO.FileInfo] $simple = "$Env:GHIDRA_HOME\Ghidra\applications.properties"if ($simple.Exists) {diff --git a/Ghidra/RuntimeScripts/Windows/ghidraRun.bat b/Ghidra/RuntimeScripts/Windows/ghidraRun.batindex 36bcb0227a..a4117fa6e3 100644--- a/Ghidra/RuntimeScripts/Windows/ghidraRun.bat+++ b/Ghidra/RuntimeScripts/Windows/ghidraRun.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##:: Ghidra launch@echo offdiff --git a/Ghidra/RuntimeScripts/Windows/server/ghidraSvr.bat b/Ghidra/RuntimeScripts/Windows/server/ghidraSvr.batindex 41e2467e8e..702cbb7f6a 100644--- a/Ghidra/RuntimeScripts/Windows/server/ghidraSvr.bat+++ b/Ghidra/RuntimeScripts/Windows/server/ghidraSvr.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##@echo off:: ---------------------------------------------------------------------------------------diff --git a/Ghidra/RuntimeScripts/Windows/server/svrAdmin.bat b/Ghidra/RuntimeScripts/Windows/server/svrAdmin.batindex debb9b3503..f467a11642 100644--- a/Ghidra/RuntimeScripts/Windows/server/svrAdmin.bat+++ b/Ghidra/RuntimeScripts/Windows/server/svrAdmin.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##@echo off:: ***********************************************************diff --git a/Ghidra/RuntimeScripts/Windows/server/svrInstall.bat b/Ghidra/RuntimeScripts/Windows/server/svrInstall.batindex 2e73d7afab..1f6d95c6c7 100644--- a/Ghidra/RuntimeScripts/Windows/server/svrInstall.bat+++ b/Ghidra/RuntimeScripts/Windows/server/svrInstall.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##@echo offsetlocaldiff --git a/Ghidra/RuntimeScripts/Windows/server/svrUninstall.bat b/Ghidra/RuntimeScripts/Windows/server/svrUninstall.batindex eb58d014c4..05dd76eb65 100644--- a/Ghidra/RuntimeScripts/Windows/server/svrUninstall.bat+++ b/Ghidra/RuntimeScripts/Windows/server/svrUninstall.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##@echo offsetlocaldiff --git a/Ghidra/RuntimeScripts/Windows/support/GhidraGo/ghidraGo.bat b/Ghidra/RuntimeScripts/Windows/support/GhidraGo/ghidraGo.batindex 8a7061b997..33a97f012d 100644--- a/Ghidra/RuntimeScripts/Windows/support/GhidraGo/ghidraGo.bat+++ b/Ghidra/RuntimeScripts/Windows/support/GhidraGo/ghidraGo.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##:: GhidraGo launch@echo offdiff --git a/Ghidra/RuntimeScripts/Windows/support/analyzeHeadless.bat b/Ghidra/RuntimeScripts/Windows/support/analyzeHeadless.batindex e577293f24..496ae49803 100644--- a/Ghidra/RuntimeScripts/Windows/support/analyzeHeadless.bat+++ b/Ghidra/RuntimeScripts/Windows/support/analyzeHeadless.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##:: Ghidra Headless Analyzer launch (see analyzeHeadlessREADME.html)@echo offdiff --git a/Ghidra/RuntimeScripts/Windows/support/bsim.bat b/Ghidra/RuntimeScripts/Windows/support/bsim.batindex fcc059ca19..7cad14976d 100644--- a/Ghidra/RuntimeScripts/Windows/support/bsim.bat+++ b/Ghidra/RuntimeScripts/Windows/support/bsim.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##:: Command-line script for interacting with a BSim database@echo offdiff --git a/Ghidra/RuntimeScripts/Windows/support/buildGhidraJar.bat b/Ghidra/RuntimeScripts/Windows/support/buildGhidraJar.batindex 4ae026640e..96e0f3323a 100644--- a/Ghidra/RuntimeScripts/Windows/support/buildGhidraJar.bat+++ b/Ghidra/RuntimeScripts/Windows/support/buildGhidraJar.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##:: Ghidra Jar Builder launch@echo offdiff --git a/Ghidra/RuntimeScripts/Windows/support/convertStorage.bat b/Ghidra/RuntimeScripts/Windows/support/convertStorage.batindex 7e6a894651..66912c65c7 100644--- a/Ghidra/RuntimeScripts/Windows/support/convertStorage.bat+++ b/Ghidra/RuntimeScripts/Windows/support/convertStorage.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##:: Ghidra Filesystem Conversion launch@echo offdiff --git a/Ghidra/RuntimeScripts/Windows/support/createPdbXmlFiles.bat b/Ghidra/RuntimeScripts/Windows/support/createPdbXmlFiles.batindex fed8c216c4..c0e9b52176 100644--- a/Ghidra/RuntimeScripts/Windows/support/createPdbXmlFiles.bat+++ b/Ghidra/RuntimeScripts/Windows/support/createPdbXmlFiles.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##:: Script that takes either a single .pdb file or a directory:: that contains .pdb files (search for files is recursive).::diff --git a/Ghidra/RuntimeScripts/Windows/support/dbgengGADPServerRun.bat b/Ghidra/RuntimeScripts/Windows/support/dbgengGADPServerRun.batindex 58747dbeb6..820daf39cb 100644--- a/Ghidra/RuntimeScripts/Windows/support/dbgengGADPServerRun.bat+++ b/Ghidra/RuntimeScripts/Windows/support/dbgengGADPServerRun.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##:: GADP Server launch@echo offdiff --git a/Ghidra/RuntimeScripts/Windows/support/dbgmodelGADPServerRun.bat b/Ghidra/RuntimeScripts/Windows/support/dbgmodelGADPServerRun.batindex 163a00c823..2106c0bf22 100644--- a/Ghidra/RuntimeScripts/Windows/support/dbgmodelGADPServerRun.bat+++ b/Ghidra/RuntimeScripts/Windows/support/dbgmodelGADPServerRun.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##:: GADP Server launch@echo offdiff --git a/Ghidra/RuntimeScripts/Windows/support/ghidraClean.bat b/Ghidra/RuntimeScripts/Windows/support/ghidraClean.batindex 8b8c4a59fb..49e506f737 100644--- a/Ghidra/RuntimeScripts/Windows/support/ghidraClean.bat+++ b/Ghidra/RuntimeScripts/Windows/support/ghidraClean.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##:: Ghidra-Clean:: An interactive utility to discover and delete artifacts that Ghidra lays down on the filesystem.@@ -6,4 +21,4 @@ setlocalset VMARG_LIST=-Djava.awt.headless=true-call "%~dp0launch.bat" fg jdk Ghidra-Clean "" "" utility.application.AppCleaner Ghidra\ No newline at end of file+call "%~dp0launch.bat" fg jdk Ghidra-Clean "" "" utility.application.AppCleaner Ghidradiff --git a/Ghidra/RuntimeScripts/Windows/support/ghidraDebug.bat b/Ghidra/RuntimeScripts/Windows/support/ghidraDebug.batindex 5b335a0fb5..e5d6f1f1c0 100644--- a/Ghidra/RuntimeScripts/Windows/support/ghidraDebug.bat+++ b/Ghidra/RuntimeScripts/Windows/support/ghidraDebug.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##:: Ghidra debug launch@echo offdiff --git a/Ghidra/RuntimeScripts/Windows/support/jshellRun.bat b/Ghidra/RuntimeScripts/Windows/support/jshellRun.batindex 37238450c0..155b46b916 100644--- a/Ghidra/RuntimeScripts/Windows/support/jshellRun.bat+++ b/Ghidra/RuntimeScripts/Windows/support/jshellRun.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##:: Ghidra JShell launch@echo offdiff --git a/Ghidra/RuntimeScripts/Windows/support/jythonRun.bat b/Ghidra/RuntimeScripts/Windows/support/jythonRun.batindex 8782f9cec7..a4ae43bf51 100644--- a/Ghidra/RuntimeScripts/Windows/support/jythonRun.bat+++ b/Ghidra/RuntimeScripts/Windows/support/jythonRun.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##:: Ghidra jython launch@echo offdiff --git a/Ghidra/RuntimeScripts/Windows/support/launch.bat b/Ghidra/RuntimeScripts/Windows/support/launch.batindex 47c95d81b6..ca6b5d94f8 100644--- a/Ghidra/RuntimeScripts/Windows/support/launch.bat+++ b/Ghidra/RuntimeScripts/Windows/support/launch.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##@echo offgoto continuediff --git a/Ghidra/RuntimeScripts/Windows/support/pyghidraRun.bat b/Ghidra/RuntimeScripts/Windows/support/pyghidraRun.batindex 2af21aac33..96e331ec67 100644--- a/Ghidra/RuntimeScripts/Windows/support/pyghidraRun.bat+++ b/Ghidra/RuntimeScripts/Windows/support/pyghidraRun.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##:: PyGhidra launch@echo offdiff --git a/Ghidra/RuntimeScripts/Windows/support/sleigh.bat b/Ghidra/RuntimeScripts/Windows/support/sleigh.batindex 8b602f8024..15003568de 100644--- a/Ghidra/RuntimeScripts/Windows/support/sleigh.bat+++ b/Ghidra/RuntimeScripts/Windows/support/sleigh.bat@@ -1,3 +1,18 @@+:: ###+:: IP: GHIDRA+::+:: Licensed under the Apache License, Version 2.0 (the "License");+:: you may not use this file except in compliance with the License.+:: You may obtain a copy of the License at+::+:: http://www.apache.org/licenses/LICENSE-2.0+::+:: Unless required by applicable law or agreed to in writing, software+:: distributed under the License is distributed on an "AS IS" BASIS,+:: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+:: See the License for the specific language governing permissions and+:: limitations under the License.+:: ##:: Ghidra Sleigh language compiler launch@echo offdiff --git a/Ghidra/RuntimeScripts/certification.manifest b/Ghidra/RuntimeScripts/certification.manifestindex c50f377991..339a44c4c2 100644--- a/Ghidra/RuntimeScripts/certification.manifest+++ b/Ghidra/RuntimeScripts/certification.manifest@@ -30,25 +30,5 @@ Linux/support/jshellRun||GHIDRA||||END|Linux/support/jythonRun||GHIDRA||||END|Linux/support/pyghidraRun||GHIDRA||||END|Linux/support/sleigh||GHIDRA||||END|-Windows/ghidraRun.bat||GHIDRA||||END|-Windows/server/ghidraSvr.bat||GHIDRA||||END|-Windows/server/svrAdmin.bat||GHIDRA||||END|-Windows/server/svrInstall.bat||GHIDRA||||END|-Windows/server/svrUninstall.bat||GHIDRA||||END|-Windows/support/GhidraGo/ghidraGo.bat||GHIDRA||||END|Windows/support/README_createPdbXmlFiles.txt||GHIDRA||||END|-Windows/support/analyzeHeadless.bat||GHIDRA||||END|-Windows/support/bsim.bat||GHIDRA||||END|-Windows/support/buildGhidraJar.bat||GHIDRA||||END|-Windows/support/convertStorage.bat||GHIDRA||||END|-Windows/support/createPdbXmlFiles.bat||GHIDRA||||END|-Windows/support/dbgengGADPServerRun.bat||GHIDRA||||END|-Windows/support/dbgmodelGADPServerRun.bat||GHIDRA||||END|Windows/support/ghidra.ico||GHIDRA||||END|-Windows/support/ghidraClean.bat||GHIDRA||||END|-Windows/support/ghidraDebug.bat||GHIDRA||||END|-Windows/support/jshellRun.bat||GHIDRA||||END|-Windows/support/jythonRun.bat||GHIDRA||||END|-Windows/support/launch.bat||GHIDRA||||END|-Windows/support/pyghidraRun.bat||GHIDRA||||END|-Windows/support/sleigh.bat||GHIDRA||||END|diff --git a/certification.local.manifest b/certification.local.manifestindex f5bd4d865f..41a63dceb1 100644--- a/certification.local.manifest+++ b/certification.local.manifest@@ -11,4 +11,3 @@ README.md||GHIDRA||||END|ghidra.repos.config||GHIDRA||||END|gradle.properties||GHIDRA||||END|gradlew||Apache License 2.0||||END|-gradlew.bat||Apache License 2.0||||END|diff --git a/gradle/support/ip.gradle b/gradle/support/ip.gradleindex bedd453246..8244aa2786 100644--- a/gradle/support/ip.gradle+++ b/gradle/support/ip.gradle@@ -217,10 +217,21 @@ def isBashSourceFile(File file) {// NOTE: bash/shell scripts without extension will not utilize a headerreturn filename.endsWith(".py") ||filename.endsWith(".sh") ||+ filename.endsWith(".ps1") ||filename.endsWith(".bash") ||filename.endsWith(".command");}+/*********************************************************************************+ * checks if a file supports a Windows Batch style header based on its extension.+ *********************************************************************************/+def isBatchSourceFile(File file) {++ String filename = file.getName().toLowerCase();++ return filename.endsWith(".bat");+}+/********************************************************************************** Gets the ip for a file in the module from its header (or certification.manifest)@@ -236,6 +247,9 @@ def getIp(File projectDir, File file) {ip = getIpForSourceFile(file, "# IP:");}}+ else if (isBatchSourceFile(file)) {+ ip = getIpForSourceFile(file, ":: IP:");+ }if (ip == null) {ip = getIpForNonSourceFile(projectDir, file);}diff --git a/gradlew.bat b/gradlew.batindex eb0c161e41..5ee39252b5 100644--- a/gradlew.bat+++ b/gradlew.bat@@ -1,3 +1,6 @@+:: ###+:: IP: Apache License 2.0+:: ##@rem@rem Copyright 2015 the original author or authors.@rem