diff --git a/Ghidra/Configurations/Public_Release/src/global/docs/ChangeHistory.html b/Ghidra/Configurations/Public_Release/src/global/docs/ChangeHistory.html index f26a3f622c..eba672ad0f 100644 --- a/Ghidra/Configurations/Public_Release/src/global/docs/ChangeHistory.html +++ b/Ghidra/Configurations/Public_Release/src/global/docs/ChangeHistory.html @@ -1052,7 +1052,7 @@ Added API method Structure.setLength(int length) whic
  • CParser. Enum constants are now created by the CParser when #define expressions ending in ULL, LLU, LL, and LU are found in parentheses. (GP-3285, Issue #5161)
  • CParser. Fixed expansion of #define statements embedded in #include files and parsing of constants with UL/LL size specifications. (GP-3310, Issue #5207)
  • CParser. Fixed CParser issues with forward-declared Enums and typedefs used within the body of functions. (GP-3371, Issue #3526, #5271)
  • -
  • CParser. Enum sizes are now set to the size of an int for the processor (formerly 4), and enums from #defines are set to the the smallest enum size that will fit the number (formerly 8). Future change will add packed enum sizes. (GP-3385)
  • +
  • CParser. Enum sizes are now set to the size of an int for the processor (formerly 4), and enums from #defines are set to the smallest enum size that will fit the number (formerly 8). Future change will add packed enum sizes. (GP-3385)
  • Data. Corrected handling of zero-length components in the form of Listing DataComponent CodeUnits. These were incorrectly reporting a length of 0 instead 1; all Listing Data, including DataComponents, must report a positive non-zero length. (GP-3314)
  • Data Types. Automatically created class structures now respect the Preferred Root Namespace Category property. (GP-1123, Issue #3196)
  • Data Types. Added support for floating-point data types to parse decimal string representation. A significant refactor of FloatFormat and BigFloat was completed. BigFloat is now used as the value class for all float data types. Introduced DataType.getAlignedLength() method which was needed to differentiate between the raw encoding size and the aligned (i.e., padded) size used by a compiler when allocating storage (i.e., sizeof). Example: for x86-32 gcc, 80-bit float has an aligned-length of 12-bytes which reflects compiler's sizeof(long double). (GP-1379)
  • diff --git a/Ghidra/Debug/Debugger-agent-dbgeng/src/main/java/agent/dbgeng/dbgeng/DebugClient.java b/Ghidra/Debug/Debugger-agent-dbgeng/src/main/java/agent/dbgeng/dbgeng/DebugClient.java index 2a95b5c78d..cb3a295c6d 100644 --- a/Ghidra/Debug/Debugger-agent-dbgeng/src/main/java/agent/dbgeng/dbgeng/DebugClient.java +++ b/Ghidra/Debug/Debugger-agent-dbgeng/src/main/java/agent/dbgeng/dbgeng/DebugClient.java @@ -4,9 +4,9 @@ * 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. @@ -358,7 +358,7 @@ public interface DebugClient extends DebugClientReentrant { DebugSystemObjects getSystemObjects(); /** - * The the ID for the local server + * The ID for the local server * * @return the ID */ diff --git a/Ghidra/Debug/Debugger-agent-dbgmodel-traceloader/ghidra_scripts/PopulateTraceLocal.java b/Ghidra/Debug/Debugger-agent-dbgmodel-traceloader/ghidra_scripts/PopulateTraceLocal.java index dbac0e981f..0a84055cda 100644 --- a/Ghidra/Debug/Debugger-agent-dbgmodel-traceloader/ghidra_scripts/PopulateTraceLocal.java +++ b/Ghidra/Debug/Debugger-agent-dbgmodel-traceloader/ghidra_scripts/PopulateTraceLocal.java @@ -4,9 +4,9 @@ * 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. @@ -83,7 +83,7 @@ import ghidra.util.Msg; *
  • Observations of registers behave exactly the same as observations for memory, by leveraging * Ghidra's "register space." The only difference is that those observations must be recorded with * respect to a given thread. Each thread is effectively allocated its own copy of the register - * space. Most the the API components require you to obtain a special "register space" for a given + * space. Most of the API components require you to obtain a special "register space" for a given * thread before recording observations of or applying annotations to that thread.
  • * * diff --git a/Ghidra/Debug/Debugger-agent-dbgmodel-traceloader/ghidra_scripts/PopulateTraceRemote.java b/Ghidra/Debug/Debugger-agent-dbgmodel-traceloader/ghidra_scripts/PopulateTraceRemote.java index 7eb2ef9704..92f4ba5cf0 100644 --- a/Ghidra/Debug/Debugger-agent-dbgmodel-traceloader/ghidra_scripts/PopulateTraceRemote.java +++ b/Ghidra/Debug/Debugger-agent-dbgmodel-traceloader/ghidra_scripts/PopulateTraceRemote.java @@ -4,9 +4,9 @@ * 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. @@ -72,7 +72,7 @@ import ghidra.trace.model.time.TraceTimeManager; *
  • Observations of registers behave exactly the same as observations for memory, by leveraging * Ghidra's "register space." The only difference is that those observations must be recorded with * respect to a given thread. Each thread is effectively allocated its own copy of the register - * space. Most the the API components require you to obtain a special "register space" for a given + * space. Most of the API components require you to obtain a special "register space" for a given * thread before recording observations of or applying annotations to that thread.
  • * * diff --git a/Ghidra/Debug/Debugger-agent-frida/src/main/java/agent/frida/frida/FridaClient.java b/Ghidra/Debug/Debugger-agent-frida/src/main/java/agent/frida/frida/FridaClient.java index 7e54bf34c1..74a9add7ba 100644 --- a/Ghidra/Debug/Debugger-agent-frida/src/main/java/agent/frida/frida/FridaClient.java +++ b/Ghidra/Debug/Debugger-agent-frida/src/main/java/agent/frida/frida/FridaClient.java @@ -4,9 +4,9 @@ * 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. @@ -355,7 +355,7 @@ public interface FridaClient extends FridaClientReentrant { } /** - * The the ID for the local server + * The ID for the local server * * @return the ID */ diff --git a/Ghidra/Debug/Debugger-agent-gdb/src/main/java/agent/gdb/manager/evt/GdbThreadGroupStartedEvent.java b/Ghidra/Debug/Debugger-agent-gdb/src/main/java/agent/gdb/manager/evt/GdbThreadGroupStartedEvent.java index 6b4f3022e2..73de7b4016 100644 --- a/Ghidra/Debug/Debugger-agent-gdb/src/main/java/agent/gdb/manager/evt/GdbThreadGroupStartedEvent.java +++ b/Ghidra/Debug/Debugger-agent-gdb/src/main/java/agent/gdb/manager/evt/GdbThreadGroupStartedEvent.java @@ -4,9 +4,9 @@ * 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. @@ -38,7 +38,7 @@ public class GdbThreadGroupStartedEvent extends AbstractGdbThreadGroupEvent { } /** - * Get the the process ID + * Get the process ID * * @return the process ID */ diff --git a/Ghidra/Debug/Debugger-agent-gdb/src/main/java/agent/gdb/manager/impl/GdbManagerImpl.java b/Ghidra/Debug/Debugger-agent-gdb/src/main/java/agent/gdb/manager/impl/GdbManagerImpl.java index 413613b91b..8bec0c0af2 100644 --- a/Ghidra/Debug/Debugger-agent-gdb/src/main/java/agent/gdb/manager/impl/GdbManagerImpl.java +++ b/Ghidra/Debug/Debugger-agent-gdb/src/main/java/agent/gdb/manager/impl/GdbManagerImpl.java @@ -4,9 +4,9 @@ * 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. @@ -969,7 +969,7 @@ public class GdbManagerImpl implements GdbManager { return; } /** - * NOTE: I've forgotten why, but the the state update needs to happen between handle and + * NOTE: I've forgotten why, but the state update needs to happen between handle and * finish. */ boolean cmdFinished = false; diff --git a/Ghidra/Debug/Debugger-agent-lldb/src/main/java/agent/lldb/lldb/DebugClient.java b/Ghidra/Debug/Debugger-agent-lldb/src/main/java/agent/lldb/lldb/DebugClient.java index d5c1bf4cf2..b79fb766d0 100644 --- a/Ghidra/Debug/Debugger-agent-lldb/src/main/java/agent/lldb/lldb/DebugClient.java +++ b/Ghidra/Debug/Debugger-agent-lldb/src/main/java/agent/lldb/lldb/DebugClient.java @@ -4,9 +4,9 @@ * 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. @@ -378,7 +378,7 @@ public interface DebugClient extends DebugClientReentrant { public SBListener getListener(); /** - * The the ID for the local server + * The ID for the local server * * @return the ID */ diff --git a/Ghidra/Debug/Debugger-api/src/main/java/ghidra/debug/flatapi/FlatDebuggerAPI.java b/Ghidra/Debug/Debugger-api/src/main/java/ghidra/debug/flatapi/FlatDebuggerAPI.java index 1d4c840f2f..3368eb1874 100644 --- a/Ghidra/Debug/Debugger-api/src/main/java/ghidra/debug/flatapi/FlatDebuggerAPI.java +++ b/Ghidra/Debug/Debugger-api/src/main/java/ghidra/debug/flatapi/FlatDebuggerAPI.java @@ -4,9 +4,9 @@ * 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. @@ -800,7 +800,7 @@ public interface FlatDebuggerAPI { } /** - * The the target service + * The target service * * @return the service */ diff --git a/Ghidra/Debug/Debugger/ghidra_scripts/PopulateDemoTrace.java b/Ghidra/Debug/Debugger/ghidra_scripts/PopulateDemoTrace.java index 4f202ca7c7..aaa0000095 100644 --- a/Ghidra/Debug/Debugger/ghidra_scripts/PopulateDemoTrace.java +++ b/Ghidra/Debug/Debugger/ghidra_scripts/PopulateDemoTrace.java @@ -4,9 +4,9 @@ * 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. @@ -85,7 +85,7 @@ import ghidra.util.task.TaskMonitor; *
  • Observations of registers behave exactly the same as observations for memory, by leveraging * Ghidra's "register space." The only difference is that those observations must be recorded with * respect to a given thread. Each thread is effectively allocated its own copy of the register - * space. Most the the API components require you to obtain a special "register space" for a given + * space. Most of the API components require you to obtain a special "register space" for a given * thread before recording observations of or applying annotations to that thread.
  • * * diff --git a/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/console/DebuggerConsolePlugin.java b/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/console/DebuggerConsolePlugin.java index 24bac917ac..cc219d9900 100644 --- a/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/console/DebuggerConsolePlugin.java +++ b/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/console/DebuggerConsolePlugin.java @@ -4,9 +4,9 @@ * 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. @@ -161,7 +161,7 @@ public class DebuggerConsolePlugin extends Plugin implements DebuggerConsoleServ * For testing: to verify the contents of a message delivered to the console log * * @param ctx the context - * @return the the log entry + * @return the log entry */ public LogRow getLogRow(ActionContext ctx) { return provider.getLogRow(ctx); diff --git a/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/stack/vars/VariableValueRow.java b/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/stack/vars/VariableValueRow.java index 3a7ae1d76a..9b0adaf9fe 100644 --- a/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/stack/vars/VariableValueRow.java +++ b/Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/stack/vars/VariableValueRow.java @@ -4,9 +4,9 @@ * 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. @@ -138,7 +138,7 @@ public interface VariableValueRow { /** * Render the key for display in diagnostics * - * @return the the key as a string + * @return the key as a string */ default String keyToSimpleString() { return key().toString(); diff --git a/Ghidra/Debug/Framework-AsyncComm/src/main/java/ghidra/async/AsyncLazyValue.java b/Ghidra/Debug/Framework-AsyncComm/src/main/java/ghidra/async/AsyncLazyValue.java index 5fb56c0083..f14eb9e9d8 100644 --- a/Ghidra/Debug/Framework-AsyncComm/src/main/java/ghidra/async/AsyncLazyValue.java +++ b/Ghidra/Debug/Framework-AsyncComm/src/main/java/ghidra/async/AsyncLazyValue.java @@ -4,9 +4,9 @@ * 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. @@ -142,7 +142,7 @@ public class AsyncLazyValue { } /** - * Check the the value is available immediately + * Check if the value is available immediately * * @return true if {@link #request()} or {@link #provide()} has been called and completed. */ diff --git a/Ghidra/Debug/Framework-AsyncComm/src/main/java/ghidra/async/AsyncPairingCache.java b/Ghidra/Debug/Framework-AsyncComm/src/main/java/ghidra/async/AsyncPairingCache.java index af3e45b81f..a23e4e9dd1 100644 --- a/Ghidra/Debug/Framework-AsyncComm/src/main/java/ghidra/async/AsyncPairingCache.java +++ b/Ghidra/Debug/Framework-AsyncComm/src/main/java/ghidra/async/AsyncPairingCache.java @@ -4,9 +4,9 @@ * 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. @@ -69,7 +69,7 @@ public abstract class AsyncPairingCache { protected abstract Map> createPromiseCache(int max); /** - * Enter a promise for the the given key into the cache + * Enter a promise for the given key into the cache * *

    * If the result for the given key is already available, the promise does not enter the cache. @@ -83,7 +83,7 @@ public abstract class AsyncPairingCache { } /** - * Enter a promise for the the given key into the cache + * Enter a promise for the given key into the cache * *

    * If the result for the given key is already available, the promise does not enter the cache. diff --git a/Ghidra/Debug/Framework-TraceModeling/src/test/java/ghidra/trace/database/ToyDBTraceBuilder.java b/Ghidra/Debug/Framework-TraceModeling/src/test/java/ghidra/trace/database/ToyDBTraceBuilder.java index 180a3ff91f..c2ad274f06 100644 --- a/Ghidra/Debug/Framework-TraceModeling/src/test/java/ghidra/trace/database/ToyDBTraceBuilder.java +++ b/Ghidra/Debug/Framework-TraceModeling/src/test/java/ghidra/trace/database/ToyDBTraceBuilder.java @@ -578,7 +578,7 @@ public class ToyDBTraceBuilder implements AutoCloseable { * * @param snap the starting snap * @param start the min address - * @param platform the platform the the language to disassemble + * @param platform the platform for the language to disassemble * @param buf the bytes to place, which will become the unit's bytes * @return the instruction unit * @throws CodeUnitInsertionException if the instruction cannot be created diff --git a/Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/database/DBCachedObjectIndex.java b/Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/database/DBCachedObjectIndex.java index 4d180f3708..cb45a15517 100644 --- a/Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/database/DBCachedObjectIndex.java +++ b/Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/database/DBCachedObjectIndex.java @@ -4,9 +4,9 @@ * 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. @@ -426,7 +426,7 @@ public class DBCachedObjectIndex { * @param key the key * @see #descending() * @see #sub(Object, boolean, Object, boolean) - * @return the the value of the previous key, or null + * @return the value of the previous key, or null */ public T lowerValue(K key) { return firstOf(head(key, false).descending().values()); diff --git a/Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/database/DBCachedObjectStoreFactory.java b/Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/database/DBCachedObjectStoreFactory.java index 9d1ecfe2b3..6cfdf7a15f 100644 --- a/Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/database/DBCachedObjectStoreFactory.java +++ b/Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/database/DBCachedObjectStoreFactory.java @@ -4,9 +4,9 @@ * 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. @@ -739,7 +739,7 @@ public class DBCachedObjectStoreFactory { void encode(ByteBuffer buffer, T value); /** - * The the class describing {@link T} + * The class describing {@link T} * * @return the class */ diff --git a/Ghidra/Extensions/SleighDevTools/pcodetest/c_src/builtin.c b/Ghidra/Extensions/SleighDevTools/pcodetest/c_src/builtin.c index 4dd3615f1a..2ab510892a 100644 --- a/Ghidra/Extensions/SleighDevTools/pcodetest/c_src/builtin.c +++ b/Ghidra/Extensions/SleighDevTools/pcodetest/c_src/builtin.c @@ -4,9 +4,9 @@ * 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. @@ -423,7 +423,7 @@ static void ftoa(float f, char *buff, int len) fa = f2; // printf("%f = %u 2^%d 10^%d?\n", f, fa, e2, ea); while (e2 > 0) { - // If the the high bit is set + // If the high bit is set // then we can't multiply by 2 // without losing it, so divide by 10 // and round off diff --git a/Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/ExecutableScorer.java b/Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/ExecutableScorer.java index 072068b476..06dedabac3 100755 --- a/Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/ExecutableScorer.java +++ b/Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/ExecutableScorer.java @@ -4,9 +4,9 @@ * 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. @@ -420,7 +420,7 @@ public class ExecutableScorer { * to create symmetric score contributions and accumulate the contributions in the matrix * @param pairs is the full list of pairs in the cluster * @param i is the first function pair sharing this pair of executables - * @param j is the the last(+1) function pair sharing this pair of executables + * @param j is the last(+1) function pair sharing this pair of executables */ private void scoreAcrossExecutablePair(List pairs, int i, int j) { int size = j - i; diff --git a/Ghidra/Features/Base/ghidra_scripts/ReportDisassemblyErrors.java b/Ghidra/Features/Base/ghidra_scripts/ReportDisassemblyErrors.java index a1c6ca1287..24933d8d3e 100644 --- a/Ghidra/Features/Base/ghidra_scripts/ReportDisassemblyErrors.java +++ b/Ghidra/Features/Base/ghidra_scripts/ReportDisassemblyErrors.java @@ -1,20 +1,19 @@ /* ### * IP: GHIDRA - * REVIEWED: YES * * 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. */ -// Reports the the number of disassembly error bookmarks currently in the program. +// Reports the number of disassembly error bookmarks currently in the program. // This can be an "indicator" of bad analysis, strange instructions, or non-returning functions. // // Assumes a program is open. diff --git a/Ghidra/Features/Base/src/main/help/help/topics/Trees/GhidraTreeFilter.html b/Ghidra/Features/Base/src/main/help/help/topics/Trees/GhidraTreeFilter.html index 776a8c8b68..f6052a8550 100644 --- a/Ghidra/Features/Base/src/main/help/help/topics/Trees/GhidraTreeFilter.html +++ b/Ghidra/Features/Base/src/main/help/help/topics/Trees/GhidraTreeFilter.html @@ -187,7 +187,7 @@ nodes name.

    -

    The the format of a node path looks +

    The format of a node path looks similar to a filesystem path, for example: Root/folder1/folder2/nodeName. In this example, with path filtering enabled, you can match this node with any of the following filter strings: diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddBitMappedMemoryBlockCmd.java b/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddBitMappedMemoryBlockCmd.java index 61a11c36ea..99090cf0e2 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddBitMappedMemoryBlockCmd.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddBitMappedMemoryBlockCmd.java @@ -4,9 +4,9 @@ * 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. @@ -35,7 +35,7 @@ public class AddBitMappedMemoryBlockCmd extends AbstractAddMemoryBlockCmd { * @param name the name for the new memory block. * @param comment the comment for the block * @param source indicates what is creating the block - * @param start the start address for the the block + * @param start the start address for the block * @param length the length of the new block in number of bits to be mapped * @param read sets the block's read permission flag * @param write sets the block's write permission flag diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddByteMappedMemoryBlockCmd.java b/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddByteMappedMemoryBlockCmd.java index cb2252d61a..5a1c7b0bf3 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddByteMappedMemoryBlockCmd.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddByteMappedMemoryBlockCmd.java @@ -4,9 +4,9 @@ * 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. @@ -40,7 +40,7 @@ public class AddByteMappedMemoryBlockCmd extends AbstractAddMemoryBlockCmd { * @param name the name for the new memory block. * @param comment the comment for the block * @param source indicates what is creating the block - * @param start the start address for the the block + * @param start the start address for the block * @param length the length of the new block * @param read sets the block's read permission flag * @param write sets the block's write permission flag @@ -63,7 +63,7 @@ public class AddByteMappedMemoryBlockCmd extends AbstractAddMemoryBlockCmd { * @param name the name for the new memory block. * @param comment the comment for the block * @param source indicates what is creating the block - * @param start the start address for the the block + * @param start the start address for the block * @param length the length of the new block * @param read sets the block's read permission flag * @param write sets the block's write permission flag diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddFileBytesMemoryBlockCmd.java b/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddFileBytesMemoryBlockCmd.java index 0323314a55..223ef59288 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddFileBytesMemoryBlockCmd.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddFileBytesMemoryBlockCmd.java @@ -4,9 +4,9 @@ * 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. @@ -34,7 +34,7 @@ public class AddFileBytesMemoryBlockCmd extends AbstractAddMemoryBlockCmd { * @param name the name for the new memory block. * @param comment the comment for the block * @param source indicates what is creating the block - * @param start the start address for the the block + * @param start the start address for the block * @param length the length of the new block * @param read sets the block's read permission flag * @param write sets the block's write permission flag diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddInitializedMemoryBlockCmd.java b/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddInitializedMemoryBlockCmd.java index df49e916dc..3e365b0996 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddInitializedMemoryBlockCmd.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddInitializedMemoryBlockCmd.java @@ -4,9 +4,9 @@ * 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. @@ -33,7 +33,7 @@ public class AddInitializedMemoryBlockCmd extends AbstractAddMemoryBlockCmd { * @param name the name for the new memory block. * @param comment the comment for the block * @param source indicates what is creating the block - * @param start the start address for the the block + * @param start the start address for the block * @param length the length of the new block * @param read sets the block's read permission flag * @param write sets the block's write permission flag diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddUninitializedMemoryBlockCmd.java b/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddUninitializedMemoryBlockCmd.java index 2866664d94..3e25414a56 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddUninitializedMemoryBlockCmd.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/cmd/memory/AddUninitializedMemoryBlockCmd.java @@ -4,9 +4,9 @@ * 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. @@ -30,7 +30,7 @@ public class AddUninitializedMemoryBlockCmd extends AbstractAddMemoryBlockCmd { * @param name the name for the new memory block. * @param comment the comment for the block * @param source indicates what is creating the block - * @param start the start address for the the block + * @param start the start address for the block * @param length the length of the new block * @param read sets the block's read permission flag * @param write sets the block's write permission flag diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/analysis/AnalysisPanel.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/analysis/AnalysisPanel.java index bf97e48253..e817e50a7d 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/analysis/AnalysisPanel.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/analysis/AnalysisPanel.java @@ -4,9 +4,9 @@ * 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. @@ -140,8 +140,8 @@ class AnalysisPanel extends JPanel implements PropertyChangeListener { } /** - * Copies the the non-default options from the program analysis options into a new options object - * @return the the non-default options from the program analysis options into a new options object + * Copies the non-default options from the program analysis options into a new options object + * @return the non-default options from the program analysis options into a new options object */ private Options getNonDefaultProgramOptions() { FileOptions options = new FileOptions("Current Program Options"); diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/CompEditorModel.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/CompEditorModel.java index cf5620e04d..ff8edd751e 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/CompEditorModel.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/CompEditorModel.java @@ -712,7 +712,7 @@ public abstract class CompEditorModel extends CompositeEditorModel { * @throws InvalidDataTypeException if the structure being edited is part * of the data type being inserted * @throws InsufficientBytesException if there aren't enough bytes in the specified range - * @throws CancelledException the the work is cancelled + * @throws CancelledException if the work is cancelled */ protected abstract boolean replaceRange(int startRowIndex, int endRowIndex, DataType datatype, int length, TaskMonitor monitor) diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/actions/CreateEnumFromSelectionAction.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/actions/CreateEnumFromSelectionAction.java index 5fc6515b55..e886d54812 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/actions/CreateEnumFromSelectionAction.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/actions/CreateEnumFromSelectionAction.java @@ -4,9 +4,9 @@ * 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. @@ -77,7 +77,7 @@ public class CreateEnumFromSelectionAction extends DockingAction { } private void selectNewEnum(GTree gTree, String parentName, String name) { - // Select new node in tree; run later to give the tree a chance to add the the new node + // Select new node in tree; run later to give the tree a chance to add the new node Swing.runLater(() -> { GTreeNode rootNode = gTree.getViewRoot(); gTree.setSelectedNodeByNamePath( diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/progmgr/AbstractProgramNameSwitchingAction.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/progmgr/AbstractProgramNameSwitchingAction.java index 64a990cf03..aaa146a88c 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/progmgr/AbstractProgramNameSwitchingAction.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/progmgr/AbstractProgramNameSwitchingAction.java @@ -4,9 +4,9 @@ * 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. @@ -21,7 +21,7 @@ import ghidra.app.context.ProgramActionContext; import ghidra.program.model.listing.Program; /** - * Abstract base class for program actions that change their menu name depending on the the active + * Abstract base class for program actions that change their menu name depending on the active * program. Note that actions that derived from this class only work on programs that are * globally managed by Ghidra and not opened and managed by individual plugins. If the action * context should happen to contain a non-global managed program, the tool's concept of the diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/ProgramTreeActionManager.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/ProgramTreeActionManager.java index f6a78e6c56..f2e89dd397 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/ProgramTreeActionManager.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/ProgramTreeActionManager.java @@ -1166,7 +1166,7 @@ class ProgramTreeActionManager implements ClipboardOwner { } /** - * Update the view list if the the given path is the an ancestor of any of the paths currently + * Update the view list if the given path is an ancestor of any of the paths currently * in the view; remove the descendant and add the ancestor path. * @param tree the tree * @param path path the check against the view list diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/table/TableComponentProvider.java b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/table/TableComponentProvider.java index ed1bb7bf19..8a15d0def3 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/table/TableComponentProvider.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/table/TableComponentProvider.java @@ -138,8 +138,8 @@ public class TableComponentProvider extends ComponentProviderAdapter if (navigatable != null) { // Only allow global actions if we are derived from the connect/primary navigatable. - // This allows the the primary navigatable to process key events without the user having - // to focus first focus the primary navigatable. + // This allows the primary navigatable to process key events without the user having + // to first focus the primary navigatable. table.setActionsEnabled(navigatable.isConnected()); navigatable.addNavigatableListener(this); table.installNavigation(tool, navigatable); diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/script/ScriptMessage.java b/Ghidra/Features/Base/src/main/java/ghidra/app/script/ScriptMessage.java index b1f3619370..f2539b6b3d 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/script/ScriptMessage.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/script/ScriptMessage.java @@ -4,9 +4,9 @@ * 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. @@ -19,7 +19,7 @@ import org.apache.logging.log4j.message.Message; /** * A simple {@link Message} implementation that allows us to use the filtering capability - * of log4j. This class has a formatted and unformatted message. log4j writes the the formatted + * of log4j. This class has a formatted and unformatted message. log4j writes the formatted * message out. Our formatted message is the original message given to us. We use the * unformatted message, in conjunction with a regex filter to allow for filtering such that * the script log file only has script messages. diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/services/MarkerDescriptor.java b/Ghidra/Features/Base/src/main/java/ghidra/app/services/MarkerDescriptor.java index 0dd46872fa..cd97fba053 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/services/MarkerDescriptor.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/services/MarkerDescriptor.java @@ -4,9 +4,9 @@ * 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. @@ -27,7 +27,7 @@ import ghidra.program.util.ProgramLocation; public abstract class MarkerDescriptor { /** - * Called when the navigation bar to the right of the window is clicked to allow the the + * Called when the navigation bar to the right of the window is clicked to allow the * creator of a Marker an opportunity to provide a more specific ProgramLocation for * navigation. If null is specified, the client will navigate to the corresponding address. * @param loc the marker location diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/NameDeduper.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/NameDeduper.java index 164adfa50d..1e956c9862 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/NameDeduper.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/NameDeduper.java @@ -4,9 +4,9 @@ * 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. @@ -40,7 +40,7 @@ public class NameDeduper { } /** - * Add names to the the de-duper that have already been used. + * Add names to the de-duper that have already been used. * * @param alreadyUsedNames names already used */ diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/expression/DWARFExpressionEvaluator.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/expression/DWARFExpressionEvaluator.java index f1bfe59582..5e06feb7b0 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/expression/DWARFExpressionEvaluator.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/expression/DWARFExpressionEvaluator.java @@ -4,9 +4,9 @@ * 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. @@ -249,7 +249,7 @@ public class DWARFExpressionEvaluator { // Retrieve value held in register X and add offset from operand and push result on stack. // Fake it using zero as register value. // Mainly only useful if offset is zero or if non-zero the register happens to - // be the the stack pointer. + // be the stack pointer. long offset = currentOp.getOperandValue(0); push(0 /*fake register value */ + offset); lastRegister = currentOp.getRelativeOpCodeOffset(DW_OP_breg0); diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/structmapping/FieldMapping.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/structmapping/FieldMapping.java index bb8ee0f9e2..92a4bbf1db 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/structmapping/FieldMapping.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/structmapping/FieldMapping.java @@ -4,9 +4,9 @@ * 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. @@ -69,7 +69,7 @@ public @interface FieldMapping { * {@link DataTypeMapperContext context}. *

    * For example, a version number could be used to allow some optional fields to be skipped - * depending on the the concrete {@link DataTypeMapper}'s information during structure + * depending on the concrete {@link DataTypeMapper}'s information during structure * mapping registration. *

    * Similar to {@link #optional()} diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/macho/dyld/DyldCacheSlideInfoCommon.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/macho/dyld/DyldCacheSlideInfoCommon.java index 13c06cd9b6..890d7c250d 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/macho/dyld/DyldCacheSlideInfoCommon.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/macho/dyld/DyldCacheSlideInfoCommon.java @@ -4,9 +4,9 @@ * 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. @@ -35,7 +35,7 @@ import ghidra.util.task.TaskMonitor; /** * Class for representing the common components of the various dyld_cache_slide_info structures. - * The intent is for the the full dyld_cache_slide_info structures to extend this and add their + * The intent is for the full dyld_cache_slide_info structures to extend this and add their * specific parts. * * @see dyld_cache_format.h diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/BytesFieldFactory.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/BytesFieldFactory.java index d29daa81f2..9d20fd6116 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/BytesFieldFactory.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/BytesFieldFactory.java @@ -4,9 +4,9 @@ * 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. @@ -350,7 +350,7 @@ public class BytesFieldFactory extends FieldFactory { } /** - * Computes how many bytes the the given column position represents. Normally this is just the + * Computes how many bytes the given column position represents. Normally this is just the * column position / 2 (since each byte consists of two chars). There is a special case when * the col position is just past the last char of the token. In this case, we want to return * the number of bytes in a token - 1; diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/listingpanel/ProgramBigListingModel.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/listingpanel/ProgramBigListingModel.java index b533a952b7..ca0ae5dbbe 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/listingpanel/ProgramBigListingModel.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/listingpanel/ProgramBigListingModel.java @@ -4,9 +4,9 @@ * 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. @@ -87,7 +87,7 @@ public class ProgramBigListingModel implements ListingModel, FormatModelListener formatModelChanged(null); } - // There are quite a few options that affect the display of the the layouts. Flush + // There are quite a few options that affect the display of the layouts. Flush // the cache on any change, as it is simpler than tracking individual options. layoutCache.clear(); } diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/multilisting/MultiListingLayoutModel.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/multilisting/MultiListingLayoutModel.java index 52982ac989..956b43f1d0 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/multilisting/MultiListingLayoutModel.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/multilisting/MultiListingLayoutModel.java @@ -4,9 +4,9 @@ * 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. @@ -78,7 +78,7 @@ public class MultiListingLayoutModel implements ListingModelListener, FormatMode } /** - * Returns the the ListingLayoutModel for the i'th program. + * Returns the ListingLayoutModel for the i'th program. * @param index the index of program for which to return a listing model */ public ListingModel getAlignedModel(int index) { diff --git a/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/util/AddressIndexMap.java b/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/util/AddressIndexMap.java index 7c8803def9..02dbd410c5 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/util/AddressIndexMap.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/util/AddressIndexMap.java @@ -4,9 +4,9 @@ * 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. @@ -207,7 +207,7 @@ public class AddressIndexMap { * Returns the index for the given address. If the address is not mapped, the result is * defined as follows: * if the address is less than the smallest address in the map, then null is returned - * if the address is greater the the largest address in the map, then a value one bigger than + * if the address is greater than the largest address in the map, then a value one bigger than * the index of the largest address in the map. * if the address is in a "gap", then the index of the next largest address that is in the * map is returned. @@ -299,10 +299,10 @@ public class AddressIndexMap { } /** - * Returns the the maximum address for the range containing the given address. + * Returns the maximum address for the range containing the given address. * * @param addr the address to find its containing range's max address. - * @return the the maximum address for the range containing the given address. + * @return the maximum address for the range containing the given address. */ public BigInteger getMaxIndex(Address addr) { int rangeIndex = Arrays.binarySearch(addressList, addr); @@ -317,10 +317,10 @@ public class AddressIndexMap { } /** - * Returns the the minimum address for the range containing the given address. + * Returns the minimum address for the range containing the given address. * * @param addr the address to find its containing range's min address. - * @return the the minimum address for the range containing the given address. + * @return the minimum address for the range containing the given address. */ public BigInteger getMinIndex(Address addr) { int rangeIndex = Arrays.binarySearch(addressList, addr); diff --git a/Ghidra/Features/Base/src/main/java/ghidra/base/project/GhidraProject.java b/Ghidra/Features/Base/src/main/java/ghidra/base/project/GhidraProject.java index 8f125fbe2c..4d4a1625ee 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/base/project/GhidraProject.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/base/project/GhidraProject.java @@ -4,9 +4,9 @@ * 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. @@ -128,7 +128,7 @@ public class GhidraProject { * * @param projectDirPath the directory path to contain the new Ghidra project. * @param projectName the name of the project to be created. - * @param temporary if true, deletes the the project when it is closed - useful for testing. + * @param temporary if true, deletes the project when it is closed - useful for testing. * @return an open ghidra project. * @throws IOException if there was a problem accessing the project */ diff --git a/Ghidra/Features/Base/src/main/java/ghidra/features/base/codecompare/model/FunctionComparisonModel.java b/Ghidra/Features/Base/src/main/java/ghidra/features/base/codecompare/model/FunctionComparisonModel.java index f3a2af220e..61778c2ced 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/features/base/codecompare/model/FunctionComparisonModel.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/features/base/codecompare/model/FunctionComparisonModel.java @@ -4,9 +4,9 @@ * 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. @@ -28,14 +28,14 @@ import ghidra.util.datastruct.Duo.Side; /** * A model for comparing one or more functions in a side by side display. The model supports the - * concept of a set of function that can be selected for each side of the comparison. It also + * concept of a set of functions that can be selected for each side of the comparison. It also * maintains the selected function for each side. The default model simply has a single set * of functions that can be selected for either side of the comparison. The model supports the - * concept of different sets of functions for each and even the idea the the active function for + * concept of different sets of functions for each and even the idea that the active function for * one side can determine the set of functions for the other side. See * {@link MatchedFunctionComparisonModel}. *

    - * This model is intended to be used by the the {@link FunctionComparisonService} to generate + * This model is intended to be used by the {@link FunctionComparisonService} to generate * a function comparison display window. *

    * Note: Subscribers may register to be informed of changes to this model via the diff --git a/Ghidra/Features/Base/src/main/java/ghidra/features/base/memsearch/matcher/ByteMatcher.java b/Ghidra/Features/Base/src/main/java/ghidra/features/base/memsearch/matcher/ByteMatcher.java index 8f167f7504..63336c8dff 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/features/base/memsearch/matcher/ByteMatcher.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/features/base/memsearch/matcher/ByteMatcher.java @@ -72,7 +72,7 @@ public abstract class ByteMatcher { /** * Returns true if this byte matcher is valid and can be used to perform a search. If false, - * the the description will return a an error message explaining why this byte matcher is + * the description will return an error message explaining why this byte matcher is * invalid. * @return true if this byte matcher is valid and can be used to perform a search. */ diff --git a/Ghidra/Features/Base/src/main/java/ghidra/features/base/values/LanguageValue.java b/Ghidra/Features/Base/src/main/java/ghidra/features/base/values/LanguageValue.java index cb1a337938..befac5d764 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/features/base/values/LanguageValue.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/features/base/values/LanguageValue.java @@ -4,9 +4,9 @@ * 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. @@ -30,7 +30,7 @@ import ghidra.program.util.DefaultLanguageService; /** * Value class for LanguageCompilerSpecPair types. The component for this class is a * TextField with a browse button for bringing up a language/compiler chooser. It supports - * the concept of no value when the text field is empty. If it is not empty, the the contents + * the concept of no value when the text field is empty. If it is not empty, the contents * must be one of the known valid language/compiler spec pairs. *

    * This class and other subclasses of {@link AbstractValue} are part of a subsystem for easily diff --git a/Ghidra/Features/Base/src/main/java/ghidra/framework/main/InfoPanel.java b/Ghidra/Features/Base/src/main/java/ghidra/framework/main/InfoPanel.java index f90cad54c0..668b85c290 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/framework/main/InfoPanel.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/framework/main/InfoPanel.java @@ -188,7 +188,7 @@ class InfoPanel extends JPanel { } /** - * Read the version information from the the resource file. + * Read the version information from the resource file. */ private void getAboutInfo() { diff --git a/Ghidra/Features/Base/src/main/java/ghidra/plugins/importer/batch/BatchInfo.java b/Ghidra/Features/Base/src/main/java/ghidra/plugins/importer/batch/BatchInfo.java index 5b3d438c72..4c9c5693a5 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/plugins/importer/batch/BatchInfo.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/plugins/importer/batch/BatchInfo.java @@ -4,9 +4,9 @@ * 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. @@ -177,7 +177,7 @@ public class BatchInfo { *

    * @param fsrl {@link FSRL} of the file to add. * @param taskMonitor {@link TaskMonitor} to watch and update with progress. - * @return boolean true if something in the the file produced something to import. + * @return boolean true if something in the file produced something to import. * @throws IOException if io error when reading files. * @throws CancelledException if user cancels. */ @@ -210,7 +210,7 @@ public class BatchInfo { *

    * @param fsrl {@link FSRL} of the file to probe and process * @param taskMonitor {@link TaskMonitor} to watch and update. - * @return boolean true if something in the the file produced something to import. + * @return boolean true if something in the file produced something to import. * @throws IOException if io error when reading files. * @throws CancelledException if user cancels. */ diff --git a/Ghidra/Features/Base/src/main/java/ghidra/program/flatapi/FlatProgramAPI.java b/Ghidra/Features/Base/src/main/java/ghidra/program/flatapi/FlatProgramAPI.java index 8621ad75c6..421e58b883 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/program/flatapi/FlatProgramAPI.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/program/flatapi/FlatProgramAPI.java @@ -358,7 +358,7 @@ public class FlatProgramAPI { * NOTE: if more than block exists with the same name, the first * block with that name will be returned. * @param name the name of the requested block - * @return the the memory block with the specified name + * @return the memory block with the specified name */ public final MemoryBlock getMemoryBlock(String name) { return currentProgram.getMemory().getBlock(name); diff --git a/Ghidra/Features/Base/src/main/java/ghidra/program/util/ContextEvaluator.java b/Ghidra/Features/Base/src/main/java/ghidra/program/util/ContextEvaluator.java index 3babb2d55e..85e9619afa 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/program/util/ContextEvaluator.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/program/util/ContextEvaluator.java @@ -4,9 +4,9 @@ * 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. @@ -97,7 +97,7 @@ public interface ContextEvaluator { boolean evaluateDestination(VarnodeContext context, Instruction instruction); /** - * Evaluate the the target of a return + * Evaluate the target of a return * * @param retVN varnode that is the target of a RETURN pcodeop * @param context current register context diff --git a/Ghidra/Features/Base/src/main/java/ghidra/test/AbstractGhidraHeadedIntegrationTest.java b/Ghidra/Features/Base/src/main/java/ghidra/test/AbstractGhidraHeadedIntegrationTest.java index 7c0ce4bb5a..9fc29a3912 100644 --- a/Ghidra/Features/Base/src/main/java/ghidra/test/AbstractGhidraHeadedIntegrationTest.java +++ b/Ghidra/Features/Base/src/main/java/ghidra/test/AbstractGhidraHeadedIntegrationTest.java @@ -4,9 +4,9 @@ * 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. @@ -187,7 +187,7 @@ public abstract class AbstractGhidraHeadedIntegrationTest /** * Triggers a browser click at the current cursor location. Thus, this method should be - * called only after the browser location is set the the desired field. + * called only after the browser location is set to the desired field. * * @param codeBrowser the CodeBrowserPlugin * @param clickCount the click count diff --git a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/instructionsearch/InstructionSearchTest.java b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/instructionsearch/InstructionSearchTest.java index 95d9ce4bc4..03c453441f 100644 --- a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/instructionsearch/InstructionSearchTest.java +++ b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/instructionsearch/InstructionSearchTest.java @@ -532,7 +532,7 @@ public class InstructionSearchTest extends AbstractGhidraHeadedIntegrationTest { } /** - * Tests the the hex view button correctly switches the preview table to hex, and that + * Tests that the hex view button correctly switches the preview table to hex, and that * the hex is formatted correctly when masking. */ @Test diff --git a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/navigation/locationreferences/LocationReferencesPlugin3Test.java b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/navigation/locationreferences/LocationReferencesPlugin3Test.java index 6060fd1887..e41b5c1af1 100644 --- a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/navigation/locationreferences/LocationReferencesPlugin3Test.java +++ b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/navigation/locationreferences/LocationReferencesPlugin3Test.java @@ -4,9 +4,9 @@ * 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. @@ -297,7 +297,7 @@ public class LocationReferencesPlugin3Test extends AbstractLocationReferencesTes public void testDyamicData_AddressField() throws Exception { // - // Dynamic data types should show all references to the the outermost data, including + // Dynamic data types should show all references to the outermost data, including // offcut. // @@ -336,7 +336,7 @@ public class LocationReferencesPlugin3Test extends AbstractLocationReferencesTes public void testDyamicData_MnemonicField() throws Exception { // - // Dynamic data types should show all references to the the outermost data, including + // Dynamic data types should show all references to the outermost data, including // offcut. Also, since we are searching from the mnemonic, we find all data references. // diff --git a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/processors/ShowInstructionInfoPluginTest.java b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/processors/ShowInstructionInfoPluginTest.java index f457bb47af..b14100ab51 100644 --- a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/processors/ShowInstructionInfoPluginTest.java +++ b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/processors/ShowInstructionInfoPluginTest.java @@ -4,9 +4,9 @@ * 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. @@ -294,7 +294,7 @@ public class ShowInstructionInfoPluginTest extends AbstractGhidraHeadedIntegrati @Test public void testUpdates() throws Exception { // display a provider, clear the instruction, - // make sure the the provider is cleared, etc. + // make sure that the provider is cleared, etc. changeLocationToAddress("01000000"); diff --git a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/programtree/ProgramTreePlugin2Test.java b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/programtree/ProgramTreePlugin2Test.java index 4574023c0d..cfb897104b 100644 --- a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/programtree/ProgramTreePlugin2Test.java +++ b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/programtree/ProgramTreePlugin2Test.java @@ -679,7 +679,7 @@ public class ProgramTreePlugin2Test extends AbstractProgramTreePluginTest { public void testCutFolderCollapsed2() throws Exception { // cut folder is collapsed, // destination folder is collapsed. - // Paste the the folder; the destination folder + // Paste the folder; the destination folder // remains collapsed ProgramNode stringsNode = root.getChild("Strings"); visitNode(stringsNode); diff --git a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/script/GhidraScriptAskMethodsTest.java b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/script/GhidraScriptAskMethodsTest.java index 157d54eb22..5fa8bb0660 100644 --- a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/script/GhidraScriptAskMethodsTest.java +++ b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/script/GhidraScriptAskMethodsTest.java @@ -4,9 +4,9 @@ * 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. @@ -713,22 +713,22 @@ public class GhidraScriptAskMethodsTest extends AbstractGhidraHeadedIntegrationT */ /* - * No test for 'askYesNo()" because it does not use either the the last-selected value or + * No test for 'askYesNo()" because it does not use either the last-selected value or * a .properties file value to pre-populate the user choice in the GUI. */ /* - * No test for 'askProjectFolder()" because it does not use either the the last-selected value + * No test for 'askProjectFolder()" because it does not use either the last-selected value * or a .properties file value to pre-populate the user choice in the GUI. */ /* - * No test for 'askProgram()" because it does not use either the the last-selected value or + * No test for 'askProgram()" because it does not use either the last-selected value or * a .properties file value to pre-populate the user choice in the GUI. */ /* - * No test for 'askDomainFile()" because it does not use either the the last-selected value or + * No test for 'askDomainFile()" because it does not use either the last-selected value or * a .properties file value to pre-populate the user choice in the GUI. */ diff --git a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/util/viewer/field/LabelFieldFactoryTest.java b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/util/viewer/field/LabelFieldFactoryTest.java index 1f1190781c..243a068cf7 100644 --- a/Ghidra/Features/Base/src/test.slow/java/ghidra/app/util/viewer/field/LabelFieldFactoryTest.java +++ b/Ghidra/Features/Base/src/test.slow/java/ghidra/app/util/viewer/field/LabelFieldFactoryTest.java @@ -4,9 +4,9 @@ * 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. @@ -318,7 +318,7 @@ public class LabelFieldFactoryTest extends AbstractGhidraHeadedIntegrationTest { public void testOffcutStringWhenOffcutIsOnTheNullTerminatingCharacter() throws Exception { // // We can have a scenario where there is an offcut into a string where the offcut index - // is the the last byte, which is the null terminator, which we do not render + // is the last byte, which is the null terminator, which we do not render // env.close(program); program = buildSegmentedProgram(); diff --git a/Ghidra/Features/Base/src/test/java/ghidra/base/project/FakeSharedProject.java b/Ghidra/Features/Base/src/test/java/ghidra/base/project/FakeSharedProject.java index 48814c23d2..4802c8075b 100644 --- a/Ghidra/Features/Base/src/test/java/ghidra/base/project/FakeSharedProject.java +++ b/Ghidra/Features/Base/src/test/java/ghidra/base/project/FakeSharedProject.java @@ -4,9 +4,9 @@ * 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. @@ -215,7 +215,7 @@ public class FakeSharedProject { } /** - * Opens the the program by the given name. The path can be a simple name or a relative or + * Opens the program by the given name. The path can be a simple name or a relative or * absolute path to the file within the project. * * @param filePath the path to the file to open diff --git a/Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/InstructionSequence.java b/Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/InstructionSequence.java index 6b74122f09..7fe800d5c1 100644 --- a/Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/InstructionSequence.java +++ b/Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/InstructionSequence.java @@ -4,9 +4,9 @@ * 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. @@ -51,7 +51,7 @@ public class InstructionSequence { } /** - * Returns all the the stored disassembly for an instruction sequence + * Returns all of the stored disassembly for an instruction sequence * @param inOrder if true, the instructions are displayed in order. If false they are reversed. * @return the disassembly as a string */ diff --git a/Ghidra/Features/BytePatterns/src/main/java/ghidra/closedpatternmining/ProjectedSequenceInfo.java b/Ghidra/Features/BytePatterns/src/main/java/ghidra/closedpatternmining/ProjectedSequenceInfo.java index 1c3f41311f..616f7994d6 100644 --- a/Ghidra/Features/BytePatterns/src/main/java/ghidra/closedpatternmining/ProjectedSequenceInfo.java +++ b/Ghidra/Features/BytePatterns/src/main/java/ghidra/closedpatternmining/ProjectedSequenceInfo.java @@ -4,9 +4,9 @@ * 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. @@ -27,7 +27,7 @@ public class ProjectedSequenceInfo { /** * Create a new {@link ProjectedSequenceInfo} object * @param sequenceIndex index of a sequence in the database - * @param projectedIndex index in the sequence of the first character after the the projection prefix + * @param projectedIndex index in the sequence of the first character after the projection prefix */ public ProjectedSequenceInfo(int sequenceIndex, int projectedIndex) { this.sequenceIndex = sequenceIndex; diff --git a/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteField.java b/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteField.java index 4e5467b2b8..994a586576 100644 --- a/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteField.java +++ b/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteField.java @@ -4,9 +4,9 @@ * 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. @@ -30,7 +30,7 @@ import ghidra.util.ColorUtils; /** * Fields for the ByteViewer. This class extends the SimpleTextField to include - * a fieldOffset which corresponds to the column of the the fieldFactory that + * a fieldOffset which corresponds to the column of the fieldFactory that * generated it. */ public class ByteField extends SimpleTextField { diff --git a/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteViewerComponent.java b/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteViewerComponent.java index 797ebaeea9..ddf9b16a89 100644 --- a/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteViewerComponent.java +++ b/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteViewerComponent.java @@ -411,8 +411,8 @@ public class ByteViewerComponent extends FieldPanel implements FieldMouseListene } /** - * Get the the color of unsaved byte changes - * @return the the color of unsaved byte changes + * Get the color of unsaved byte changes + * @return the color of unsaved byte changes */ Color getEditColor() { return editColor; diff --git a/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteViewerState.java b/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteViewerState.java index 44136f58b6..33f0145685 100644 --- a/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteViewerState.java +++ b/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/ByteViewerState.java @@ -4,9 +4,9 @@ * 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. @@ -25,7 +25,7 @@ import ghidra.program.model.address.Address; import ghidra.program.util.ProgramLocation; /** - * Implementation for a snapshot of the the byte viewer's current view. + * Implementation for a snapshot of the byte viewer's current view. */ class ByteViewerState { diff --git a/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/format/ByteBlockInfo.java b/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/format/ByteBlockInfo.java index 390358d0d1..ec279f29d6 100644 --- a/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/format/ByteBlockInfo.java +++ b/Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/format/ByteBlockInfo.java @@ -4,9 +4,9 @@ * 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. @@ -53,7 +53,7 @@ public class ByteBlockInfo { } /** - * The the column within the UI byte field + * The column within the UI byte field * @return the column */ public int getColumn() { diff --git a/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RTTIGccClassRecoverer.java b/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RTTIGccClassRecoverer.java index ac1d08f538..a11fecf8a8 100644 --- a/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RTTIGccClassRecoverer.java +++ b/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RTTIGccClassRecoverer.java @@ -3590,7 +3590,7 @@ public class RTTIGccClassRecoverer extends RTTIClassRecoverer { * Method to add parents to the given class * * @param recoveredClass the given class - * @param typeinfo the the GccTypeinfo object for this class + * @param typeinfo the GccTypeinfo object for this class * @return list of parents for the given class * @throws CancelledException if cancelled */ diff --git a/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RecoveredClassHelper.java b/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RecoveredClassHelper.java index 03260558d5..5e3c20ea1b 100644 --- a/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RecoveredClassHelper.java +++ b/Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/RecoveredClassHelper.java @@ -2443,7 +2443,7 @@ public class RecoveredClassHelper { /** * Method to return the total number of vbase destructors in the given list of classes * @param recoveredClasses the list of classes - * @return the the total number of vbase destructors in the given list of classes + * @return the total number of vbase destructors in the given list of classes * @throws CancelledException if cancelled */ public int getNumberOfVBaseFunctions(List recoveredClasses) diff --git a/Ghidra/Features/Decompiler/src/main/doc/decompileplugin.xml b/Ghidra/Features/Decompiler/src/main/doc/decompileplugin.xml index 4b6b40b206..ac497e429d 100644 --- a/Ghidra/Features/Decompiler/src/main/doc/decompileplugin.xml +++ b/Ghidra/Features/Decompiler/src/main/doc/decompileplugin.xml @@ -5174,7 +5174,7 @@ Decompilation is triggered again to incorporate the new name, causing local variable declarations to be reordered and line breaks to - change, but otherwise the the output is unaffected. + change, but otherwise the output is unaffected. Local variables and parameters presented by the Decompiler may be invented on-the-fly diff --git a/Ghidra/Features/Decompiler/src/main/doc/sleigh.xml b/Ghidra/Features/Decompiler/src/main/doc/sleigh.xml index 426ecde387..d4af0e8599 100644 --- a/Ghidra/Features/Decompiler/src/main/doc/sleigh.xml +++ b/Ghidra/Features/Decompiler/src/main/doc/sleigh.xml @@ -3801,7 +3801,7 @@ select s registers. As is described in , these assignments by themselves cause only a local context change. However, the subsequent globalset directives make -the change persist outside of the the instructions +the change persist outside of the instructions themselves. The globalset directive takes two parameters, the second being the particular context variable being changed. The first parameter indicates the first address where diff --git a/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerWindow.html b/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerWindow.html index 6fc00e3b8c..c9ebf1d1ab 100644 --- a/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerWindow.html +++ b/Ghidra/Features/Decompiler/src/main/help/help/topics/DecompilePlugin/DecompilerWindow.html @@ -1375,7 +1375,7 @@

    Decompilation is triggered again to incorporate the new name, causing local variable declarations to be reordered and line breaks to - change, but otherwise the the output is unaffected. + change, but otherwise the output is unaffected.

    Local variables and parameters presented by the Decompiler may be invented on-the-fly diff --git a/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/UserHighlights.java b/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/UserHighlights.java index c5b1eca91b..d40c0db699 100644 --- a/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/UserHighlights.java +++ b/Ghidra/Features/Decompiler/src/main/java/ghidra/app/decompiler/component/UserHighlights.java @@ -4,9 +4,9 @@ * 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. @@ -110,7 +110,7 @@ public class UserHighlights { void addSecondaryHighlighter(Function function, DecompilerHighlighter highlighter) { - // Note: this highlighter has likely already been added the the this class, but has not + // Note: this highlighter has likely already been added to this class, but has not // yet been bound to the given function. secondaryHighlightersByFunction.get(function).add(highlighter); secondaryHighlighters.add(highlighter); diff --git a/Ghidra/Features/FunctionGraph/src/test.slow/java/ghidra/app/plugin/core/functiongraph/FunctionGraphGroupVertices2Test.java b/Ghidra/Features/FunctionGraph/src/test.slow/java/ghidra/app/plugin/core/functiongraph/FunctionGraphGroupVertices2Test.java index 0913a97a80..532b906ad2 100644 --- a/Ghidra/Features/FunctionGraph/src/test.slow/java/ghidra/app/plugin/core/functiongraph/FunctionGraphGroupVertices2Test.java +++ b/Ghidra/Features/FunctionGraph/src/test.slow/java/ghidra/app/plugin/core/functiongraph/FunctionGraphGroupVertices2Test.java @@ -4,9 +4,9 @@ * 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. @@ -415,7 +415,7 @@ public class FunctionGraphGroupVertices2Test extends AbstractFunctionGraphTest { // Test the case that grouping the entry node will create a group that has incoming // edges. In this case, there is no source node in the graph. This will cause an // exception if the code does not create a fake source node before passing the graph - // the the algorithm for calculating dominance. + // to the algorithm for calculating dominance. // create12345GraphWithTransaction(); diff --git a/Ghidra/Features/FunctionID/src/main/java/ghidra/feature/fid/db/FidDB.java b/Ghidra/Features/FunctionID/src/main/java/ghidra/feature/fid/db/FidDB.java index 73f0cc311b..c0afb03c25 100644 --- a/Ghidra/Features/FunctionID/src/main/java/ghidra/feature/fid/db/FidDB.java +++ b/Ghidra/Features/FunctionID/src/main/java/ghidra/feature/fid/db/FidDB.java @@ -4,9 +4,9 @@ * 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. @@ -183,7 +183,7 @@ public class FidDB implements Closeable { } /** - * Indicates the the user of this FidDB no longer needs it open. This will decrement the + * Indicates that the user of this FidDB no longer needs it open. This will decrement the * "open count" and if the "open count is 0, the database will be closed. */ @Override diff --git a/Ghidra/Features/GraphServices/src/main/java/ghidra/graph/visualization/DefaultGraphRenderer.java b/Ghidra/Features/GraphServices/src/main/java/ghidra/graph/visualization/DefaultGraphRenderer.java index 7fa7b462b8..e1e76721a7 100644 --- a/Ghidra/Features/GraphServices/src/main/java/ghidra/graph/visualization/DefaultGraphRenderer.java +++ b/Ghidra/Features/GraphServices/src/main/java/ghidra/graph/visualization/DefaultGraphRenderer.java @@ -4,9 +4,9 @@ * 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. @@ -331,7 +331,7 @@ public class DefaultGraphRenderer implements GraphRenderer { label.setText(escapedText); Dimension labelSize = label.getPreferredSize(); - // make sure the the vertexName doesn't make the icon ridiculously big + // make sure that the vertexName doesn't make the icon ridiculously big int width = Math.min(labelSize.width, MAX_WIDTH); int height = Math.min(labelSize.height, MAX_HEIGHT); label.setSize(width, height); diff --git a/Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonPluginInputThread.java b/Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonPluginInputThread.java index acc98baa53..e5df6faf57 100644 --- a/Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonPluginInputThread.java +++ b/Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonPluginInputThread.java @@ -4,9 +4,9 @@ * 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. @@ -89,7 +89,7 @@ class JythonPluginInputThread extends Thread { } /** - * Causes the the background thread's run() loop to exit. + * Causes the background thread's run() loop to exit. *

    * Causes background thread's exit by closing the inputstream it is looping on. */ diff --git a/Ghidra/Features/MicrosoftCodeAnalyzer/src/main/java/ghidra/app/cmd/data/TypeDescriptorModel.java b/Ghidra/Features/MicrosoftCodeAnalyzer/src/main/java/ghidra/app/cmd/data/TypeDescriptorModel.java index 8502b5ca43..9264228616 100644 --- a/Ghidra/Features/MicrosoftCodeAnalyzer/src/main/java/ghidra/app/cmd/data/TypeDescriptorModel.java +++ b/Ghidra/Features/MicrosoftCodeAnalyzer/src/main/java/ghidra/app/cmd/data/TypeDescriptorModel.java @@ -544,7 +544,7 @@ public class TypeDescriptorModel extends AbstractCreateDataTypeModel { } /** - * Whether or not the memory at the the model's address appears to be a valid location for a + * Whether or not the memory at the model's address appears to be a valid location for a * Type Descriptor data type and that its virtual function table address matches the specified * address. * @param expectedVFTableAddress the virtual function table address that the model is expected diff --git a/Ghidra/Features/MicrosoftDmang/src/test/java/mdemangler/MDMangBaseTest.java b/Ghidra/Features/MicrosoftDmang/src/test/java/mdemangler/MDMangBaseTest.java index 6d664ceb94..466f76d788 100644 --- a/Ghidra/Features/MicrosoftDmang/src/test/java/mdemangler/MDMangBaseTest.java +++ b/Ghidra/Features/MicrosoftDmang/src/test/java/mdemangler/MDMangBaseTest.java @@ -2609,7 +2609,7 @@ public class MDMangBaseTest extends AbstractGenericTest { } //This test seems to dictate that a function pointer should be elaborated internal to CVMod, where the based5 will eliminate all of the function context. - // It also seems to indicate that the "int" portion would be the referred-to type and the rest of the function spec would be part of the the function info. + // It also seems to indicate that the "int" portion would be the referred-to type and the rest of the function spec would be part of the function info. // Other information at one time, led me to believe that the return type of a function is special... need to rekinkdle those thoughts, but think related to nested // functions, such as function returning a function pointer.. @Category(MDMangFailingTestCategory.class) diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/AbstractPdb.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/AbstractPdb.java index 0376e5be90..cfaddaf460 100644 --- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/AbstractPdb.java +++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/AbstractPdb.java @@ -29,7 +29,7 @@ import ghidra.util.exception.CancelledException; import ghidra.util.task.TaskMonitor; /** - * This class represents the the Windows PDB file. This class is only suitable for reading; not + * This class represents the Windows PDB file. This class is only suitable for reading; not * for writing or modifying a PDB. *

    * We have intended to implement according to the Microsoft PDB API (source); see the API for diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/PdbDebugInfo.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/PdbDebugInfo.java index 303c452936..6894a15add 100644 --- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/PdbDebugInfo.java +++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/PdbDebugInfo.java @@ -40,7 +40,7 @@ public abstract class PdbDebugInfo { /** * These are Section Contribution Versions (SCV) 6.00 and 14.00. We are building to the MSFT * API. They have chosen to mix in some magic along the way for these--perhaps to ensure that - * the the value will be a large unsigned 32-bit or a negative 32-bit. We store the value + * the value will be a large unsigned 32-bit or a negative 32-bit. We store the value * in a java long, so that we can maintain the signed-ness of the values, if necessary. MSFT * is probably trying to prevent these values from being mimicked by data in the versions * prior to v 6.00. diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/msf/AbstractMsf.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/msf/AbstractMsf.java index 1c0eecc0f9..c6327006b1 100644 --- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/msf/AbstractMsf.java +++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/msf/AbstractMsf.java @@ -4,9 +4,9 @@ * 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. @@ -25,7 +25,7 @@ import ghidra.util.exception.CancelledException; import ghidra.util.task.TaskMonitor; /** - * This class represents the the Multi-Stream Format File used for Windows PDB files. + * This class represents the Multi-Stream Format File used for Windows PDB files. * We have intended to implement to the Microsoft PDB API (source); see the API for truth. *

    * Derived classes represents the real formats. The file format represents a kind of @@ -271,8 +271,8 @@ public abstract class AbstractMsf implements Msf { } /** - * Returns the the mask used for masking off the upper bits of a value use to get the - * mod-page-size of the value (pageSizes must be power of two for this to work) + * Returns the mask used for masking off the upper bits of a value used to get the + * mod-page-size of the value (pageSizes must be a power of two for this to work) * @return the mask */ @Override diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/msf/Msf.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/msf/Msf.java index c66851d3d1..8c19a30249 100644 --- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/msf/Msf.java +++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/msf/Msf.java @@ -4,9 +4,9 @@ * 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. @@ -24,7 +24,7 @@ import ghidra.util.exception.CancelledException; import ghidra.util.task.TaskMonitor; /** - * This class represents the the Multi-Stream Format File used for Windows PDB files. + * This class represents the Multi-Stream Format File used for Windows PDB files. * We have intended to implement to the Microsoft PDB API (source); see the API for truth. *

    * Derived classes represents the real formats. The file format represents a kind of @@ -226,8 +226,8 @@ public interface Msf extends AutoCloseable { int getLog2PageSize(); /** - * Returns the the mask used for masking off the upper bits of a value use to get the - * mod-page-size of the value (pageSizes must be power of two for this to work) + * Returns the mask used for masking off the upper bits of a value used to get the + * mod-page-size of the value (pageSizes must be a power of two for this to work) * @return the mask */ int getPageSizeModMask(); diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/msf/MsfStreamTable.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/msf/MsfStreamTable.java index 26ba81e619..68d375df60 100644 --- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/msf/MsfStreamTable.java +++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/msf/MsfStreamTable.java @@ -4,9 +4,9 @@ * 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. @@ -24,7 +24,7 @@ import ghidra.app.util.bin.format.pdb2.pdbreader.PdbException; import ghidra.util.exception.CancelledException; /** - * This class represents the the Stream Table used by the Multi-Stream Format File within + * This class represents the Stream Table used by the Multi-Stream Format File within * Windows PDB files. * We have intended to implement to the Microsoft PDB API (source); see the API for truth. */ diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/symbol/PublicSymbolInternals32.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/symbol/PublicSymbolInternals32.java index 57e8c4b9ae..1f21806f88 100644 --- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/symbol/PublicSymbolInternals32.java +++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/symbol/PublicSymbolInternals32.java @@ -4,9 +4,9 @@ * 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. @@ -127,7 +127,7 @@ public class PublicSymbolInternals32 extends AbstractSymbolInternals { } /** - * Tells whether the the code is managed. + * Tells whether the code is managed. * @return True if the code is managed. */ public boolean isManaged() { diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/type/ModifierExMsType.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/type/ModifierExMsType.java index d7b809d29b..f2a87d3ab2 100644 --- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/type/ModifierExMsType.java +++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/type/ModifierExMsType.java @@ -4,9 +4,9 @@ * 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. @@ -121,7 +121,7 @@ public class ModifierExMsType extends AbstractMsType { } /** - * Tells whether the the {@link Modifier} is present. + * Tells whether the {@link Modifier} is present. * @param modifier the {@link Modifier} to check. * @return True if the {@link Modifier} is present. */ diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/type/MsProperty.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/type/MsProperty.java index 3997328e13..8bdb9750dc 100644 --- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/type/MsProperty.java +++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/type/MsProperty.java @@ -4,9 +4,9 @@ * 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. @@ -199,8 +199,8 @@ public class MsProperty extends AbstractParsableItem { } /** - * Tells whether the the definition is scoped. - * @return True if there definition is scoped. + * Tells whether the definition is scoped. + * @return True if the definition is scoped. */ public boolean hasScopedDefinition() { return scopedDefinition; diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/type/VtShapeMsType.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/type/VtShapeMsType.java index edfb0470ad..d1253c745e 100644 --- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/type/VtShapeMsType.java +++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/type/VtShapeMsType.java @@ -4,9 +4,9 @@ * 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. @@ -45,7 +45,7 @@ public class VtShapeMsType extends AbstractMsType { int byteVal = 0; int value; VtShapeDescriptorMsProperty descriptor; - // It seems that the upper nibble of the the byte is first and the lower nibble is + // It seems that the upper nibble of the byte is first and the lower nibble is // second; that is why we process as we do below (shifting for the first and masking // for the second). for (int i = 0; i < count / 2; i++) { @@ -88,7 +88,7 @@ public class VtShapeMsType extends AbstractMsType { } /** - * Tells whether the the {@link VtShapeDescriptorMsProperty} is present. + * Tells whether the {@link VtShapeDescriptorMsProperty} is present. * @param descriptor the {@link VtShapeDescriptorMsProperty} to check. * @return True if the {@link VtShapeDescriptorMsProperty} is present. */ diff --git a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/LabelSymbolApplier.java b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/LabelSymbolApplier.java index 8ff6eb45f7..413827357b 100644 --- a/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/LabelSymbolApplier.java +++ b/Ghidra/Features/PDB/src/main/java/ghidra/app/util/pdb/pdbapplicator/LabelSymbolApplier.java @@ -4,9 +4,9 @@ * 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. @@ -125,7 +125,7 @@ public class LabelSymbolApplier extends MsSymbolApplier // how function symbols are applied. Perhaps we need to apply all GPROC symbols before // we apply their internals (frames, local vars, labels, blocks) because some labels (here) // are getting applied and becoming primary (because some have addresses that are located - // outside of the the address range of their GPROC, and will prevent another GPROC at the + // outside of the address range of their GPROC, and will prevent another GPROC at the // same address as the label from becoming primary (e.g., $LN7 of cn3 at a750). applicator.createSymbol(symbolAddress, label, false); } diff --git a/Ghidra/Features/PDB/src/main/java/pdb/symbolserver/HttpSymbolServer.java b/Ghidra/Features/PDB/src/main/java/pdb/symbolserver/HttpSymbolServer.java index c8a1ae36bb..32210e8692 100644 --- a/Ghidra/Features/PDB/src/main/java/pdb/symbolserver/HttpSymbolServer.java +++ b/Ghidra/Features/PDB/src/main/java/pdb/symbolserver/HttpSymbolServer.java @@ -113,7 +113,7 @@ public class HttpSymbolServer extends AbstractSymbolServer implements MutableTru * Creates a new instance of a HttpSymbolServer. * * @param serverURI URI / URL of the symbol server - * @param isTrusted flag, if true the the http server can be trusted when querying and downloading + * @param isTrusted flag, if true the http server can be trusted when querying and downloading */ public HttpSymbolServer(URI serverURI, boolean isTrusted) { String path = serverURI.getPath(); diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_AutoVT.html b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_AutoVT.html index fe4cb4b479..6ba850033b 100644 --- a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_AutoVT.html +++ b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/VT_AutoVT.html @@ -241,7 +241,7 @@ Symbol Correlator Minimum Symbol Length - This option sets the the minimum symbol name length used to find function + This option sets the minimum symbol name length used to find function and data matches when running the Exact Symbol Correlator in Auto Version Tracking. diff --git a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Apply_Options.html b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Apply_Options.html index ed56c5791b..05b3375e77 100644 --- a/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Apply_Options.html +++ b/Ghidra/Features/VersionTracking/src/main/help/help/topics/VersionTrackingPlugin/providers/VT_Apply_Options.html @@ -152,7 +152,7 @@ those already at the address in the destination program. Sets the primary label in the destination program to whatever label was the primary one in the source program. -

  • Replace All - Replaces all the labels at the the address in +
  • Replace All - Replaces all the labels at the address in the destination program with those from the source program.
  • Replace Default Only - Only apply labels from the source program to the destination program when the label diff --git a/Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/actions/CreateVersionTrackingSessionAction.java b/Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/actions/CreateVersionTrackingSessionAction.java index b31b823e4c..4f749a718a 100644 --- a/Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/actions/CreateVersionTrackingSessionAction.java +++ b/Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/gui/actions/CreateVersionTrackingSessionAction.java @@ -4,9 +4,9 @@ * 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. @@ -49,7 +49,7 @@ public class CreateVersionTrackingSessionAction extends DockingAction { int result = OptionDialog.showYesNoDialog(controller.getTool().getToolFrame(), "Create New Session", - "This will close the the current session. Do you want to continue?"); + "This will close the current session. Do you want to continue?"); if (result != OptionDialog.YES_OPTION) { return; diff --git a/Ghidra/Features/VersionTracking/src/test.slow/java/ghidra/feature/vt/api/VTAutoVersionTrackingTest.java b/Ghidra/Features/VersionTracking/src/test.slow/java/ghidra/feature/vt/api/VTAutoVersionTrackingTest.java index 98f45ecd67..259504d2c9 100644 --- a/Ghidra/Features/VersionTracking/src/test.slow/java/ghidra/feature/vt/api/VTAutoVersionTrackingTest.java +++ b/Ghidra/Features/VersionTracking/src/test.slow/java/ghidra/feature/vt/api/VTAutoVersionTrackingTest.java @@ -4,9 +4,9 @@ * 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. @@ -536,7 +536,7 @@ public class VTAutoVersionTrackingTest extends AbstractGhidraHeadedIntegrationTe uniqueDestAddrs.add(addr("0x415200", destinationProgram)); // The unique ones should be accepted matches - // The the non-matching unique ones should be blocked from each other + // The non-matching unique ones should be blocked from each other for (int i = 0; i < uniqueSourceAddrs.size(); i++) { for (int j = 0; j < uniqueDestAddrs.size(); j++) { // the ones at the same index in the lists should be the accepted matches diff --git a/Ghidra/Framework/DB/src/main/java/db/DBRecord.java b/Ghidra/Framework/DB/src/main/java/db/DBRecord.java index bc20032194..efee6f1313 100644 --- a/Ghidra/Framework/DB/src/main/java/db/DBRecord.java +++ b/Ghidra/Framework/DB/src/main/java/db/DBRecord.java @@ -4,9 +4,9 @@ * 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. @@ -411,7 +411,7 @@ public class DBRecord implements Comparable { /** * Set the field to a null state. For a non-sparse fixed-length column field this will - * set the the value to zero and the null state will not be persisted when stored. + * set the value to zero and the null state will not be persisted when stored. * @param colIndex field index * @throws IndexOutOfBoundsException if invalid columnIndex is specified */ diff --git a/Ghidra/Framework/DB/src/main/java/db/Field.java b/Ghidra/Framework/DB/src/main/java/db/Field.java index 9d7e30eeff..6d4b5815e8 100644 --- a/Ghidra/Framework/DB/src/main/java/db/Field.java +++ b/Ghidra/Framework/DB/src/main/java/db/Field.java @@ -440,7 +440,7 @@ public abstract class Field implements Comparable { /** * Performs a fast in-place comparison of this field value with another - * field value stored within the specified buffer at the the specified offset. + * field value stored within the specified buffer at the specified offset. * NOTE: This method will treat all null primitives as 0 although is not intended * to support such use. * @param buffer data buffer diff --git a/Ghidra/Framework/DB/src/main/java/db/buffers/LocalBufferFile.java b/Ghidra/Framework/DB/src/main/java/db/buffers/LocalBufferFile.java index c270647bc1..054ea92d8c 100644 --- a/Ghidra/Framework/DB/src/main/java/db/buffers/LocalBufferFile.java +++ b/Ghidra/Framework/DB/src/main/java/db/buffers/LocalBufferFile.java @@ -4,9 +4,9 @@ * 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. @@ -1062,7 +1062,7 @@ public class LocalBufferFile implements BufferFile { * @param in input block stream * @param out output block stream * @param monitor progress and cancel monitor - * @throws CancelledException the the operation is cancelled + * @throws CancelledException the operation is cancelled * @throws IOException if an I/O error occurs */ static void completeBlockStreamTransfer(InputBlockStream in, OutputBlockStream out, diff --git a/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingOverview.html b/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingOverview.html index fa27ddaa11..8f899f1ad8 100644 --- a/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingOverview.html +++ b/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingOverview.html @@ -54,7 +54,7 @@
  • Replace hard-coded values with a level of indirection for colors, fonts, and icons using property names/IDs
  • -
  • Create the concept of a theme that allows for the the property values to change +
  • Create the concept of a theme that allows for the property values to change as a group and along with the current Look and Feel in use
  • Create an API that allows for the introduction of system-level properties that can diff --git a/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingUserDocs.html b/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingUserDocs.html index a6f79f7820..b4f3aa7fce 100644 --- a/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingUserDocs.html +++ b/Ghidra/Framework/Docking/src/main/help/help/topics/Theming/ThemingUserDocs.html @@ -90,7 +90,7 @@ revert back to its previous value.

    If any values have been changed, the Save button will become enabled, allowing you to save - any changes you have made. (Pressing the Dismiss button will also give the the option to + any changes you have made. (Pressing the Dismiss button will also give the option to save.) When saving, if the current theme is a built-in theme, you will first have to supply a new theme name. If the current theme is a not a built-in theme, you will have the option to overwrite the existing diff --git a/Ghidra/Framework/Docking/src/main/java/docking/DockingWindowManager.java b/Ghidra/Framework/Docking/src/main/java/docking/DockingWindowManager.java index 567e579576..f5fd071583 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/DockingWindowManager.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/DockingWindowManager.java @@ -528,8 +528,8 @@ public class DockingWindowManager implements PropertyChangeListener, Placeholder } /** - * Adds a new component (vial the provider) to be managed by this docking window manager. The - * component will be initially shown or hidden based on the the "show" parameter. + * Adds a new component (via the provider) to be managed by this docking window manager. The + * component will be initially shown or hidden based on the "show" parameter. * * @param provider the component provider. * @param show indicates whether or not the component should be initially shown. diff --git a/Ghidra/Framework/Docking/src/main/java/docking/WindowActionManager.java b/Ghidra/Framework/Docking/src/main/java/docking/WindowActionManager.java index 6cd27b4bba..e76e99345b 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/WindowActionManager.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/WindowActionManager.java @@ -4,9 +4,9 @@ * 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. @@ -175,7 +175,7 @@ public class WindowActionManager { * Returns the set of actions for this window. * *

    - * Note this returns the the original passed-in actions and not the proxy actions that the + * Note this returns the original passed-in actions and not the proxy actions that the * window uses. * * @return the set of actions for this window diff --git a/Ghidra/Framework/Docking/src/main/java/docking/action/DockingAction.java b/Ghidra/Framework/Docking/src/main/java/docking/action/DockingAction.java index 70da390e65..ef34637905 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/action/DockingAction.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/action/DockingAction.java @@ -202,7 +202,7 @@ public abstract class DockingAction implements DockingActionIf { * If the client wants the action on all windows, then they can call {@link #shouldAddToAllWindows} *

    * If the client wants the action to be on a window only when the window can produce - * a certain context type, the the client should call + * a certain context type, then the client should call * {@link #addToWindowWhen(Class)} *

    * Otherwise, by default, the action will only be on the main window. @@ -253,7 +253,7 @@ public abstract class DockingAction implements DockingActionIf { } /** - * Signals the the help system that this action does not need a help entry. Some actions + * Signals the help system that this action does not need a help entry. Some actions * are so obvious that they do not require help, such as an action that renames a file. *

    * The method should be sparsely used, as most actions should provide help. @@ -689,7 +689,7 @@ public abstract class DockingAction implements DockingActionIf { /** * Sets the ActionContext class for when this action should be added to a window *

    - * If this is set, the the action will only be added to windows that have providers + * If this is set, then the action will only be added to windows that have providers * that can produce an ActionContext that is appropriate for this action. *

    * @param addToWindowContextClass the ActionContext class required to be producible by a diff --git a/Ghidra/Framework/Docking/src/main/java/docking/action/builder/MultiActionBuilder.java b/Ghidra/Framework/Docking/src/main/java/docking/action/builder/MultiActionBuilder.java index 06eefc1153..df76702a4c 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/action/builder/MultiActionBuilder.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/action/builder/MultiActionBuilder.java @@ -4,9 +4,9 @@ * 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. @@ -28,7 +28,7 @@ import docking.menu.MultiActionDockingAction; public class MultiActionBuilder extends AbstractActionBuilder { /** - * List of actions for the the MultActionDockingAction + * List of actions for the MultiActionDockingAction */ private List actionList = Collections.emptyList(); diff --git a/Ghidra/Framework/Docking/src/main/java/docking/dnd/GenericDataFlavor.java b/Ghidra/Framework/Docking/src/main/java/docking/dnd/GenericDataFlavor.java index 4366f66bcf..b7ee3292e9 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/dnd/GenericDataFlavor.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/dnd/GenericDataFlavor.java @@ -4,9 +4,9 @@ * 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. @@ -36,7 +36,7 @@ public class GenericDataFlavor extends DataFlavor { * @param representationClass the class used to transfer data in this flavor * @param humanPresentableName the human-readable string used to * identify this flavor. If this parameter is null then the value of - * the the MIME Content Type is used. + * the MIME Content Type is used. */ public GenericDataFlavor(Class representationClass, String humanPresentableName) { super(representationClass, humanPresentableName); diff --git a/Ghidra/Framework/Docking/src/main/java/docking/test/TestKeyEventDispatcher.java b/Ghidra/Framework/Docking/src/main/java/docking/test/TestKeyEventDispatcher.java index 1c7be7b8ec..4c3d4996a1 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/test/TestKeyEventDispatcher.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/test/TestKeyEventDispatcher.java @@ -4,9 +4,9 @@ * 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. @@ -37,7 +37,7 @@ public class TestKeyEventDispatcher { * * @param event the event * @return false if the event was not handled by this class and should continue to be - * processed; true if the the event was handled and no further processing is needed + * processed; true if the event was handled and no further processing is needed */ public static boolean dispatchKeyEvent(KeyEvent event) { diff --git a/Ghidra/Framework/Docking/src/main/java/docking/theme/gui/ProtectedIcon.java b/Ghidra/Framework/Docking/src/main/java/docking/theme/gui/ProtectedIcon.java index 6c9ab3d276..e91331a731 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/theme/gui/ProtectedIcon.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/theme/gui/ProtectedIcon.java @@ -4,9 +4,9 @@ * 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. @@ -26,7 +26,7 @@ import resources.ResourceManager; /** * A wrapper for an icon that suppresses errors. Some Icons that are mined from a * {@link LookAndFeel} have specialized uses and will throw exceptions if used outside - * their intended component. This class is used when trying to show them in the the theme + * their intended component. This class is used when trying to show them in the theme * editor table. */ public class ProtectedIcon implements Icon { diff --git a/Ghidra/Framework/Docking/src/main/java/docking/widgets/DropDownTextField.java b/Ghidra/Framework/Docking/src/main/java/docking/widgets/DropDownTextField.java index 1a6bc418d7..ea71d17b22 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/widgets/DropDownTextField.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/widgets/DropDownTextField.java @@ -598,7 +598,7 @@ public class DropDownTextField extends JTextField implements GComponent { /** * Returns the user's selection or null if the user has not made a selection. *

    - * Note: the the value returned from this method may not match the text in the field in the + * Note: the value returned from this method may not match the text in the field in the * case that the user has selected a value and then typed some text. * * @return the user's selection or null if the user has not made a selection. diff --git a/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/AccessibleFieldPanelDelegate.java b/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/AccessibleFieldPanelDelegate.java index 1a68d7387e..10b471cd51 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/AccessibleFieldPanelDelegate.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/AccessibleFieldPanelDelegate.java @@ -4,9 +4,9 @@ * 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. @@ -31,9 +31,9 @@ import docking.widgets.fieldpanel.support.*; /** * Contains all the code for implementing the AccessibleFieldPanel which is an inner class in * the FieldPanel class. The AccessibleFieldPanel has to be declared as an inner class because - * it needs to extends AccessibleJComponent which is a non-static inner class of JComponent. + * it needs to extend AccessibleJComponent which is a non-static inner class of JComponent. * However, we did not want to put all the logic in there as FieldPanel is already an - * extremely large and complex class. Also, by delegating the the logic, testing is much + * extremely large and complex class. Also, by delegating the logic, testing is much * easier. *

    * The model for accessibility for the FieldPanel is a bit complex because diff --git a/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/FieldPanel.java b/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/FieldPanel.java index bc59a38322..0f6436b48c 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/FieldPanel.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/FieldPanel.java @@ -4,9 +4,9 @@ * 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. @@ -1935,14 +1935,14 @@ public class FieldPanel extends JPanel } /** - * Checks if the the "shift" modifier is on and the "control" modifier is not. + * Checks if the "shift" modifier is on and the "control" modifier is not. */ private boolean isAddToContiguousSelectionActivator(MouseEvent e) { return (e.isShiftDown() && !DockingUtils.isControlModifier(e)); } /** - * Checks if the the "control" modifier is on and the shift modifier is not. + * Checks if the "control" modifier is on and the "shift" modifier is not. */ private boolean isAddRemoveDisjointSelectionActivator(MouseEvent e) { return DockingUtils.isControlModifier(e) && !e.isShiftDown(); diff --git a/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/Layout.java b/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/Layout.java index 63112cd1ce..05af10f7cd 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/Layout.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/Layout.java @@ -4,9 +4,9 @@ * 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. @@ -94,7 +94,7 @@ public interface Layout { /** * Returns a rectangle which bounds the given cursor position. * @param fieldNum the index of the field containing the cursor position. - * @param row the the text row in the field containing the cursor position. + * @param row the text row in the field containing the cursor position. * @param col the character position in the row containing the cursor position. */ Rectangle getCursorRect(int fieldNum, int row, int col); @@ -165,7 +165,7 @@ public interface Layout { int getScrollableUnitIncrement(int topOfScreen, int direction); /** - * Returns true if the the given yPos lies within this layout. + * Returns true if the given yPos lies within this layout. * @param yPos the vertical coordinate to check if in this layout. */ boolean contains(int yPos); diff --git a/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/listener/FieldInputListener.java b/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/listener/FieldInputListener.java index 1b0f44c667..ccc6fbd89e 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/listener/FieldInputListener.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/listener/FieldInputListener.java @@ -1,13 +1,12 @@ /* ### * IP: GHIDRA - * REVIEWED: YES * * 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. @@ -27,15 +26,14 @@ import docking.widgets.fieldpanel.field.Field; public interface FieldInputListener { /** - * Called the the FieldPanel receives a KeyEvent that it doesn't handle. + * Called when the FieldPanel receives a KeyEvent that it doesn't handle. * @param ev The KeyEvent generated when the user presses a key. * @param index the index of the layout the cursor was on when the key was pressed. * @param fieldNum the field index of the field the cursor was on when the key was * pressed. * @param row the row in the field the cursor was on when the key was pressed. * @param col the col in the field the cursor was on when the key was pressed. - * @param field current field the cursor was on when the - * key was pressed. + * @param field current field the cursor was on when the key was pressed. */ void keyPressed(KeyEvent ev, BigInteger index, int fieldNum, int row, int col, Field field); diff --git a/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/support/ViewerPosition.java b/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/support/ViewerPosition.java index e067d1fe94..9d758004bb 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/support/ViewerPosition.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/support/ViewerPosition.java @@ -4,9 +4,9 @@ * 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. @@ -35,7 +35,7 @@ public class ViewerPosition implements Serializable { * @param index the index of the layout displayed at the top of the screen. * @param xOffset The horizontal scroll position (NOT CURRENTLY USED) * @param yOffset the vertical position of the layout at the top of the screen. - * If the the layout is totally visible, then the yOffset will be 0. Otherwise, + * If the layout is totally visible, then the yOffset will be 0. Otherwise, * it will be < 0 indicating that it begins above the top of the screen. */ public ViewerPosition(BigInteger index, int xOffset, int yOffset) { diff --git a/Ghidra/Framework/Docking/src/main/java/docking/widgets/shapes/PopupWindowPlacerBuilder.java b/Ghidra/Framework/Docking/src/main/java/docking/widgets/shapes/PopupWindowPlacerBuilder.java index 92702d45d2..1079a6e391 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/widgets/shapes/PopupWindowPlacerBuilder.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/widgets/shapes/PopupWindowPlacerBuilder.java @@ -4,9 +4,9 @@ * 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. @@ -315,7 +315,7 @@ public class PopupWindowPlacerBuilder { } } else { - // Only looking from greater/lesser to the the center. + // Only looking from greater/lesser to the center. add(new EdgePopupPlacer(major, minors[0], Location.CENTER)); } } diff --git a/Ghidra/Framework/Docking/src/main/java/docking/widgets/tabbedpane/DockingTabRenderer.java b/Ghidra/Framework/Docking/src/main/java/docking/widgets/tabbedpane/DockingTabRenderer.java index 82b564489d..b3b12d50a0 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/widgets/tabbedpane/DockingTabRenderer.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/widgets/tabbedpane/DockingTabRenderer.java @@ -4,9 +4,9 @@ * 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. @@ -240,7 +240,7 @@ public class DockingTabRenderer extends JPanel { /** * A class to handle mouse events specifically for BasicTabbedPaneUI$TabContainer, which does * not forward mouse events on to the tabbed pane. When using custom tab renderers, which - * we are, tabbed panes that are larger than the the renderer will not get mouse events that + * we are, tabbed panes that are larger than the renderer will not get mouse events that * are over the tab, but not the renderer. */ private class TabContainerForwardingMouseListener extends MouseAdapter { diff --git a/Ghidra/Framework/Docking/src/main/java/docking/widgets/table/TableUtils.java b/Ghidra/Framework/Docking/src/main/java/docking/widgets/table/TableUtils.java index 7b635b0ab2..689ce5c4bb 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/widgets/table/TableUtils.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/widgets/table/TableUtils.java @@ -361,7 +361,7 @@ public class TableUtils { * clicked, as not to be annoying to the user. The intent of emphasizing the columns is to * signal to the user that other columns are part of the sort, not just the column that was * clicked. We hope that this will remind the user of the overall sort so they are not - * confused when the the column that was clicked produces unexpected sort results. + * confused when the column that was clicked produces unexpected sort results. */ private static class SortEmphasisAnimationRunner extends AnimationRunner { diff --git a/Ghidra/Framework/Docking/src/main/java/docking/widgets/table/constraint/ColumnConstraint.java b/Ghidra/Framework/Docking/src/main/java/docking/widgets/table/constraint/ColumnConstraint.java index 0dd997e2b6..03cbe2b4b7 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/widgets/table/constraint/ColumnConstraint.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/widgets/table/constraint/ColumnConstraint.java @@ -4,9 +4,9 @@ * 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. @@ -30,7 +30,7 @@ public interface ColumnConstraint extends Comparable> { * otherwise * * @param value the column value to be tested. - * @param context provides additional information about the the table and its data. This + * @param context provides additional information about the table and its data. This * allows the filter to base its decision on information other than just the column value. * @return true if the column value passes the constraint, false otherwise */ diff --git a/Ghidra/Framework/Docking/src/main/java/docking/widgets/table/threaded/TableUpdateJob.java b/Ghidra/Framework/Docking/src/main/java/docking/widgets/table/threaded/TableUpdateJob.java index 53ba881ce4..dfb8a5ad3a 100644 --- a/Ghidra/Framework/Docking/src/main/java/docking/widgets/table/threaded/TableUpdateJob.java +++ b/Ghidra/Framework/Docking/src/main/java/docking/widgets/table/threaded/TableUpdateJob.java @@ -36,7 +36,7 @@ import ghidra.util.task.TaskMonitor; * *

    * Not all the update functions are performed on a run of a TableUpdateJob. If the reloadData flag is - * not set, the the data is just copied from the model's current list, instead of calling the model's + * not set, then the data is just copied from the model's current list, instead of calling the model's * loadData() method. If the sortComparator is null, * then the data is not sorted (for example, when only filtering needs to be done). If there * are no add/removes in the list, then that step does nothing. diff --git a/Ghidra/Framework/Docking/src/main/java/ghidra/util/table/column/GColumnRenderer.java b/Ghidra/Framework/Docking/src/main/java/ghidra/util/table/column/GColumnRenderer.java index 73f9b2f4fb..24979d4e4e 100644 --- a/Ghidra/Framework/Docking/src/main/java/ghidra/util/table/column/GColumnRenderer.java +++ b/Ghidra/Framework/Docking/src/main/java/ghidra/util/table/column/GColumnRenderer.java @@ -4,9 +4,9 @@ * 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. @@ -40,7 +40,7 @@ import ghidra.util.exception.AssertException; * *

    The default transformer turns items to strings by, in order,: *

      - *
    1. checking the the column renderer's + *
    2. checking the column renderer's * {@link #getFilterString(Object, Settings)},if a column renderer is installed *
    3. *
    4. checking to see if the column value is an instance of {@link DisplayStringProvider} diff --git a/Ghidra/Framework/Docking/src/main/java/ghidra/util/task/TaskRunner.java b/Ghidra/Framework/Docking/src/main/java/ghidra/util/task/TaskRunner.java index e03a952a67..dc6c94fc0b 100644 --- a/Ghidra/Framework/Docking/src/main/java/ghidra/util/task/TaskRunner.java +++ b/Ghidra/Framework/Docking/src/main/java/ghidra/util/task/TaskRunner.java @@ -4,9 +4,9 @@ * 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. @@ -130,7 +130,7 @@ class TaskRunner { private void taskFinished() { - // This will release the the task dialog. We passed this latch to the dialog at + // This will release the task dialog. We passed this latch to the dialog at // construction so that does not block until we notify it in the Swing.runLater() below. // If we only rely on that notification, then the notification will be blocked when the // dialog is waiting in the Swing thread. diff --git a/Ghidra/Framework/Docking/src/test.slow/java/docking/widgets/table/threaded/IncrementalThreadedTableTest.java b/Ghidra/Framework/Docking/src/test.slow/java/docking/widgets/table/threaded/IncrementalThreadedTableTest.java index f30a2034fb..feb8658be7 100644 --- a/Ghidra/Framework/Docking/src/test.slow/java/docking/widgets/table/threaded/IncrementalThreadedTableTest.java +++ b/Ghidra/Framework/Docking/src/test.slow/java/docking/widgets/table/threaded/IncrementalThreadedTableTest.java @@ -4,9 +4,9 @@ * 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. @@ -176,7 +176,7 @@ public class IncrementalThreadedTableTest extends AbstractThreadedTableTest { @Test public void testNoShowPendingWhileLoading() throws Exception { // - // Tests that the the pending panel is not shown while we are in the middle of an + // Tests that the pending panel is not shown while we are in the middle of an // incremental load. In non-incremental models this is not an issue, as the model // itself will not send out pending events while a load is taking place (the data is // just added to the current load process). However, in the incremental case, the model's diff --git a/Ghidra/Framework/Generic/src/main/java/generic/concurrent/QProgressListener.java b/Ghidra/Framework/Generic/src/main/java/generic/concurrent/QProgressListener.java index 5cbeb61ec4..5f833c9944 100644 --- a/Ghidra/Framework/Generic/src/main/java/generic/concurrent/QProgressListener.java +++ b/Ghidra/Framework/Generic/src/main/java/generic/concurrent/QProgressListener.java @@ -4,9 +4,9 @@ * 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. @@ -63,7 +63,7 @@ public interface QProgressListener { void progressMessageChanged(long id, I item, String message); /** - * Notification the the max progress value has changed. + * Notification that the max progress value has changed. * @param id the id of the item that has completed processing. * @param item the item that was being processed when the worker changed the max progress. * @param maxProgress the max value of the progress for this task. diff --git a/Ghidra/Framework/Generic/src/main/java/generic/io/JarWriter.java b/Ghidra/Framework/Generic/src/main/java/generic/io/JarWriter.java index 1c82596167..e3a064db40 100644 --- a/Ghidra/Framework/Generic/src/main/java/generic/io/JarWriter.java +++ b/Ghidra/Framework/Generic/src/main/java/generic/io/JarWriter.java @@ -4,9 +4,9 @@ * 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. @@ -32,7 +32,7 @@ public class JarWriter { private String[] excludedExtensions; /** - * @param jarOut the the jar file output stream the zip entries are + * @param jarOut the jar file output stream the zip entries are * to be written to. */ public JarWriter(JarOutputStream jarOut) { diff --git a/Ghidra/Framework/Generic/src/main/java/generic/stl/IteratorSTL.java b/Ghidra/Framework/Generic/src/main/java/generic/stl/IteratorSTL.java index 02182a9898..4017691b0d 100644 --- a/Ghidra/Framework/Generic/src/main/java/generic/stl/IteratorSTL.java +++ b/Ghidra/Framework/Generic/src/main/java/generic/stl/IteratorSTL.java @@ -1,13 +1,12 @@ /* ### * IP: GHIDRA - * REVIEWED: YES * * 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. @@ -38,7 +37,7 @@ public interface IteratorSTL { /** * Advances the iterator to the next position. * @return a reference to the iterator itself - * @throws IndexOutOfBoundsException if the the iterator is already past the last element. + * @throws IndexOutOfBoundsException if the iterator is already past the last element. */ IteratorSTL increment(); diff --git a/Ghidra/Framework/Generic/src/main/java/generic/util/WindowUtilities.java b/Ghidra/Framework/Generic/src/main/java/generic/util/WindowUtilities.java index 9375ff666e..19ecb20210 100644 --- a/Ghidra/Framework/Generic/src/main/java/generic/util/WindowUtilities.java +++ b/Ghidra/Framework/Generic/src/main/java/generic/util/WindowUtilities.java @@ -4,9 +4,9 @@ * 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. @@ -497,7 +497,7 @@ public class WindowUtilities { // NOTE: we do an invokeLater here, as some of our clients are calling us in a // WindowListener.windowActivated() callback. During this callback, it is possible that // the focus owner is not correct, as it will be changed to the window under activation. - // If we invoke later, the the call will happen when focus has been transitioned. + // If we invoke later, then the call will happen when focus has been transitioned. Swing.runLater(() -> doBringModalestDialogToFront(activeWindow)); } diff --git a/Ghidra/Framework/Generic/src/main/java/ghidra/framework/Application.java b/Ghidra/Framework/Generic/src/main/java/ghidra/framework/Application.java index 03462daf6a..4c753f4dc5 100644 --- a/Ghidra/Framework/Generic/src/main/java/ghidra/framework/Application.java +++ b/Ghidra/Framework/Generic/src/main/java/ghidra/framework/Application.java @@ -917,7 +917,7 @@ public class Application { } /** - * Return the directory relative the the name module's data directory. (i.e. "/data" will + * Return the directory relative to the name module's data directory. (i.e. "/data" will * be prepended to the given path) * @param moduleName the name of the module. * @param relativePath the path relative to the module's data directory. @@ -932,7 +932,7 @@ public class Application { } /** - * Return the directory relative the the name module's directory. + * Return the directory relative to the name module's directory. * @param moduleName the name of the module. * @param relativePath the path relative to the module's root directory. * @return the directory diff --git a/Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/BitTree.java b/Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/BitTree.java index bb34e3dc0b..3fad67bdae 100644 --- a/Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/BitTree.java +++ b/Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/BitTree.java @@ -1,13 +1,12 @@ /* ### * IP: GHIDRA - * REVIEWED: YES * * 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. @@ -336,7 +335,7 @@ public class BitTree implements ShortKeySet, Serializable { if(containsKey((short)0)) { return (short)0; } - // otherwise return the the next key after 0. + // otherwise return the next key after 0. return getNext((short)0); } @@ -373,7 +372,7 @@ public class BitTree implements ShortKeySet, Serializable { } /** - * Tests if the the nth bit is on. + * Tests if the nth bit is on. */ private boolean isBitSet(int n) { int intIndex = n >> 5; diff --git a/Ghidra/Framework/Generic/src/main/java/ghidra/util/graph/SimpleWeightedDigraph.java b/Ghidra/Framework/Generic/src/main/java/ghidra/util/graph/SimpleWeightedDigraph.java index 1eeca31d4b..470579de46 100644 --- a/Ghidra/Framework/Generic/src/main/java/ghidra/util/graph/SimpleWeightedDigraph.java +++ b/Ghidra/Framework/Generic/src/main/java/ghidra/util/graph/SimpleWeightedDigraph.java @@ -4,9 +4,9 @@ * 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. @@ -85,7 +85,7 @@ public class SimpleWeightedDigraph extends WeightedDigraph { } /** - * Add an edge with the the default edge weight. + * Add an edge with the default edge weight. * * If an edge from and to the vertices * specified by the edge already exists in the graph, @@ -106,7 +106,7 @@ public class SimpleWeightedDigraph extends WeightedDigraph { } /** - * Add an edge with the the specified edge weight. + * Add an edge with the specified edge weight. * * If an edge from and to the vertices * specified by the edge already exists in the graph, diff --git a/Ghidra/Framework/Generic/src/test/java/ghidra/util/datastruct/TestDataStructureErrorHandlerInstaller.java b/Ghidra/Framework/Generic/src/test/java/ghidra/util/datastruct/TestDataStructureErrorHandlerInstaller.java index aa64f403c9..aa998a5623 100644 --- a/Ghidra/Framework/Generic/src/test/java/ghidra/util/datastruct/TestDataStructureErrorHandlerInstaller.java +++ b/Ghidra/Framework/Generic/src/test/java/ghidra/util/datastruct/TestDataStructureErrorHandlerInstaller.java @@ -4,9 +4,9 @@ * 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. @@ -21,7 +21,7 @@ import generic.test.ConcurrentTestExceptionHandler; * A utility that allows tests to set the error handling behavior for all data structures that * want flexible error handling. This class, in this package, allows us to override the factory * that is used to create the error handlers for framework listener data structures. The standard - * behavior is to report errors to the the application log. Some clients wish to change this + * behavior is to report errors to the application log. Some clients wish to change this * behavior in testing mode so that any errors will fail tests. Without overriding this behavior, * unexpected errors during listener notification may be lost in the noise of the application log. *

      diff --git a/Ghidra/Framework/Graph/src/main/java/ghidra/graph/job/AbstractGraphTransitionJob.java b/Ghidra/Framework/Graph/src/main/java/ghidra/graph/job/AbstractGraphTransitionJob.java index 7b58f7102c..6beeff52f3 100644 --- a/Ghidra/Framework/Graph/src/main/java/ghidra/graph/job/AbstractGraphTransitionJob.java +++ b/Ghidra/Framework/Graph/src/main/java/ghidra/graph/job/AbstractGraphTransitionJob.java @@ -4,9 +4,9 @@ * 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. @@ -33,7 +33,7 @@ import ghidra.util.task.TaskLauncher; /** * A job to transition vertices in a graph for location and visibility. The parent class * handled the opacity callback. The progress of the job is used by this class to move - * vertices from the the start location to the final destination, where the progress is the + * vertices from the start location to the final destination, where the progress is the * percentage of the total move to display. * * @param the vertex type diff --git a/Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/vertex/AbstractVisualVertexRenderer.java b/Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/vertex/AbstractVisualVertexRenderer.java index 965ac49a0c..19f0a035a7 100644 --- a/Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/vertex/AbstractVisualVertexRenderer.java +++ b/Ghidra/Framework/Graph/src/main/java/ghidra/graph/viewer/vertex/AbstractVisualVertexRenderer.java @@ -4,9 +4,9 @@ * 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. @@ -260,7 +260,7 @@ public class AbstractVisualVertexRendererOnce the maximum provided length is passed, the algorithm attempts to split on a word * boundary by first looking backwards in the given line (since the last split value) to - * find a space. If no space is found in that direction, then the the algorithm will - * keep walking forward until either a space is found or {@link #MAX_WORD_LENGTH} is - * passed, at which point the line will be ended, splitting any word that surrounds - * that index. + * find a space. If no space is found in that direction, then the algorithm will keep + * walking forward until either a space is found or {@link #MAX_WORD_LENGTH} is passed, + * at which point the line will be ended, splitting any word that surrounds that index. * * @param text the text to wrap * @param maxLineLength the max desired length of each output line diff --git a/Ghidra/Framework/Help/src/main/java/help/validator/JavaHelpValidator.java b/Ghidra/Framework/Help/src/main/java/help/validator/JavaHelpValidator.java index bbb29d434d..12013c9638 100644 --- a/Ghidra/Framework/Help/src/main/java/help/validator/JavaHelpValidator.java +++ b/Ghidra/Framework/Help/src/main/java/help/validator/JavaHelpValidator.java @@ -260,7 +260,7 @@ public class JavaHelpValidator { if (helpFile == null) { if (isExcludedHREF(href)) { - return; // ignore calls made to the the API as being invalid + return; // ignore calls made to the API as being invalid } unresolvedLinks.add(new MissingFileInvalidLink(href)); return; diff --git a/Ghidra/Framework/Project/src/main/java/ghidra/framework/main/FrontEndTool.java b/Ghidra/Framework/Project/src/main/java/ghidra/framework/main/FrontEndTool.java index 81aecd1fc0..90a733aaff 100644 --- a/Ghidra/Framework/Project/src/main/java/ghidra/framework/main/FrontEndTool.java +++ b/Ghidra/Framework/Project/src/main/java/ghidra/framework/main/FrontEndTool.java @@ -4,9 +4,9 @@ * 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. @@ -80,7 +80,7 @@ import help.Help; import help.HelpService; /** - * Tool that serves as the the Ghidra Project Window. Only those plugins that + * Tool that serves as the Ghidra Project Window. Only those plugins that * implement the FrontEndable interface may be directly added to this * tool by the user. Other plugins that are not marked as FrontEndable may get * pulled in because the FrontEndable plugins depend on them. These plugins are diff --git a/Ghidra/Framework/Project/src/main/java/ghidra/framework/main/logviewer/ui/FVTable.java b/Ghidra/Framework/Project/src/main/java/ghidra/framework/main/logviewer/ui/FVTable.java index 38bd2d91b7..a4a1ccdd86 100644 --- a/Ghidra/Framework/Project/src/main/java/ghidra/framework/main/logviewer/ui/FVTable.java +++ b/Ghidra/Framework/Project/src/main/java/ghidra/framework/main/logviewer/ui/FVTable.java @@ -4,9 +4,9 @@ * 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. @@ -527,7 +527,7 @@ public class FVTable extends GTable // selected end position if the shift key is down. // // However, if the user is selecting a row ABOVE the currently-selected one(s), then - // leave the the that row as the 'end' selection and reset the start. + // leave that row as the 'end' selection and reset the start. // // Also, if the mouse is dragging, don't reset the start position as the user is selecting // a range via the mouse. diff --git a/Ghidra/Framework/Project/src/main/java/ghidra/framework/model/DomainObjectListenerBuilder.java b/Ghidra/Framework/Project/src/main/java/ghidra/framework/model/DomainObjectListenerBuilder.java index 6ba339a75d..0cedd2f14e 100644 --- a/Ghidra/Framework/Project/src/main/java/ghidra/framework/model/DomainObjectListenerBuilder.java +++ b/Ghidra/Framework/Project/src/main/java/ghidra/framework/model/DomainObjectListenerBuilder.java @@ -4,9 +4,9 @@ * 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. @@ -66,7 +66,7 @@ import utility.function.Callback; * *

      * And finally, the third way is where you have to perform some processing on each record of a - * certain type. This can be done using the the {@link #each(EventType...)}, followed by the + * certain type. This can be done using the {@link #each(EventType...)}, followed by the * {@link EachBuilder#call(Consumer)} if you just want the record, or * {@link EachBuilder#call(BiConsumer)} if you want the record and the event. *

      diff --git a/Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/PluginManager.java b/Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/PluginManager.java index ad8372af90..d8811e190e 100644 --- a/Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/PluginManager.java +++ b/Ghidra/Framework/Project/src/main/java/ghidra/framework/plugintool/PluginManager.java @@ -4,9 +4,9 @@ * 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. @@ -631,7 +631,7 @@ class PluginManager { * @param usingPlugin the plugin whose used services should not be provided by any plugins in the list * @param serviceProvidingPlugins the list of plugins that is being tested to see if they provide any * services used by p; - * @return true if no plugins in the the list provide any services used by p. + * @return true if no plugins in the list provide any services used by p. */ private boolean checkServices(Plugin usingPlugin, List serviceProvidingPlugins) { for (Class usedService : usingPlugin.getServicesRequired()) { diff --git a/Ghidra/Framework/Project/src/main/java/ghidra/framework/project/ProjectJarWriter.java b/Ghidra/Framework/Project/src/main/java/ghidra/framework/project/ProjectJarWriter.java index 9186c8b6db..7ec13c2e99 100644 --- a/Ghidra/Framework/Project/src/main/java/ghidra/framework/project/ProjectJarWriter.java +++ b/Ghidra/Framework/Project/src/main/java/ghidra/framework/project/ProjectJarWriter.java @@ -4,9 +4,9 @@ * 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. @@ -32,7 +32,7 @@ class ProjectJarWriter extends JarWriter { private static final String ORIGINAL_PROPERTIES_FILE_NAME = "original"+PROPERTIES_FILE_NAME; /** - * @param jarOut the the jar file output stream the zip entries are + * @param jarOut the jar file output stream the zip entries are * to be written to. */ ProjectJarWriter(JarOutputStream jarOut) { diff --git a/Ghidra/Framework/Project/src/main/java/ghidra/framework/task/GTaskManager.java b/Ghidra/Framework/Project/src/main/java/ghidra/framework/task/GTaskManager.java index 76cb23ad0b..f2dde15a58 100644 --- a/Ghidra/Framework/Project/src/main/java/ghidra/framework/task/GTaskManager.java +++ b/Ghidra/Framework/Project/src/main/java/ghidra/framework/task/GTaskManager.java @@ -4,9 +4,9 @@ * 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. @@ -49,7 +49,7 @@ import ghidra.util.exception.CancelledException; *

      * Yielding to Other Tasks:
      * While running, a GTask can call the method {@link #waitForHigherPriorityTasks()} on the GTaskManager, - * which will cause the the GTaskManager to run scheduled tasks (within the same group) that are + * which will cause the GTaskManager to run scheduled tasks (within the same group) that are * a higher priority than the running task, effectively allowing the running task to yield until all * higher priority tasks are executed. * diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/GenericAssembler.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/GenericAssembler.java index 5296ee3f66..412ce2151b 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/GenericAssembler.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/GenericAssembler.java @@ -4,9 +4,9 @@ * 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. @@ -76,7 +76,7 @@ public interface GenericAssembler { * @param line the textual assembly code * @return the binary machine code, suitable for placement at the given address * @throws AssemblySyntaxException the textual instruction is not well-formed - * @throws AssemblySemanticException the the well-formed instruction cannot be assembled + * @throws AssemblySemanticException the well-formed instruction cannot be assembled */ public byte[] assembleLine(Address at, String line) throws AssemblySyntaxException, AssemblySemanticException; diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/sleigh/symbol/AssemblyNumericTerminal.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/sleigh/symbol/AssemblyNumericTerminal.java index 8b19b5f70d..c92dc0f5d9 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/sleigh/symbol/AssemblyNumericTerminal.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/sleigh/symbol/AssemblyNumericTerminal.java @@ -4,9 +4,9 @@ * 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. @@ -150,7 +150,7 @@ public class AssemblyNumericTerminal extends AssemblyTerminal { * @param s buffer cursor where the literal is expected * @param buffer the input buffer * @param pos the start offset of the token parsed so far - * @param neg true if the the optional {@code -} is present + * @param neg true if the optional {@code -} is present * @param grammar the grammar containing this terminal * @return the parsed token, or null */ @@ -173,7 +173,7 @@ public class AssemblyNumericTerminal extends AssemblyTerminal { * @param str the string value of the token taken verbatim from the buffer * @param num portion of the token following the optional sign and prefix * @param radix the radix of {@code num} - * @param neg true if the the optional {@code -} is present + * @param neg true if the optional {@code -} is present * @param grammar the grammar containing this terminal * @return the parsed token, or null */ @@ -209,7 +209,7 @@ public class AssemblyNumericTerminal extends AssemblyTerminal { * @param s the buffer cursor where the hex portion starts * @param buffer the input buffer * @param pos the start offset of the token parsed so far - * @param neg true if the the optional {@code -} is present + * @param neg true if the optional {@code -} is present * @param grammar the grammar containing this terminal * @return the parsed token, or null */ @@ -233,7 +233,7 @@ public class AssemblyNumericTerminal extends AssemblyTerminal { * @param s the buffer cursor where the hex portion starts * @param buffer the input buffer * @param pos the start offset of the token parsed so far - * @param neg true if the the optional {@code -} is present + * @param neg true if the optional {@code -} is present * @param grammar the grammar containing this terminal * @return the parsed token, or null */ @@ -257,7 +257,7 @@ public class AssemblyNumericTerminal extends AssemblyTerminal { * @param s the buffer cursor where the hex portion starts * @param buffer the input buffer * @param pos the start offset of the token parsed so far - * @param neg true if the the optional {@code -} is present + * @param neg true if the optional {@code -} is present * @param grammar the grammar containing this terminal * @return the parsed token, or null */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/util/pcode/Appender.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/util/pcode/Appender.java index 9a0366264a..ed0ad1cb7a 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/util/pcode/Appender.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/util/pcode/Appender.java @@ -4,9 +4,9 @@ * 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. @@ -68,7 +68,7 @@ interface Appender { void appendMnemonic(int opcode); /** - * Append the the given userop + * Append the given userop * * @param id the userop id */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/code/CodeManager.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/code/CodeManager.java index 826045252a..0e94b7fafb 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/code/CodeManager.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/code/CodeManager.java @@ -2094,7 +2094,7 @@ public class CodeManager implements ErrorHandler, ManagerDB { * for 0 or all f's. * @param data the data to add references for. * @param longSegmentAddressList used internally to make sure that, for 64 bit addresses, we - * don't pollute the the addressMap segment table when creating arrays of pointers on arbitrary + * don't pollute the addressMap segment table when creating arrays of pointers on arbitrary * data. */ private void addDataReferences(Data data, List

      longSegmentAddressList) { diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ArrayDBAdapterV0.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ArrayDBAdapterV0.java index 478855b437..4c913b6efc 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ArrayDBAdapterV0.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ArrayDBAdapterV0.java @@ -4,9 +4,9 @@ * 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. @@ -44,7 +44,7 @@ class ArrayDBAdapterV0 extends ArrayDBAdapter { /** * Gets a version 0 read-only adapter for the {@link ArrayDB} database table. * @param handle handle to the database containing the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. */ public ArrayDBAdapterV0(DBHandle handle) throws VersionException { diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ArrayDBAdapterV1.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ArrayDBAdapterV1.java index 8c02807eee..d71cd7c891 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ArrayDBAdapterV1.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ArrayDBAdapterV1.java @@ -4,9 +4,9 @@ * 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. @@ -50,7 +50,7 @@ class ArrayDBAdapterV1 extends ArrayDBAdapter { * @param handle handle to the database containing the table. * @param tablePrefix prefix to be used with default table name * @param create create table if true else acquire for read-only or update use - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException an IO error occured during table creation */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/BuiltinDBAdapterV0.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/BuiltinDBAdapterV0.java index 5af676aeda..c3ae083856 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/BuiltinDBAdapterV0.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/BuiltinDBAdapterV0.java @@ -4,9 +4,9 @@ * 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. @@ -43,7 +43,7 @@ class BuiltinDBAdapterV0 extends BuiltinDBAdapter { * @param handle handle to the database containing the table. * @param tablePrefix prefix to be used with default table name * @param create create table if true else acquire for read-only or update use - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if there is trouble accessing the database. */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CallingConventionDBAdapterV0.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CallingConventionDBAdapterV0.java index 61759bcb06..0464b75f68 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CallingConventionDBAdapterV0.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CallingConventionDBAdapterV0.java @@ -4,9 +4,9 @@ * 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. @@ -58,7 +58,7 @@ class CallingConventionDBAdapterV0 extends CallingConventionDBAdapter { * @param handle handle to the database containing the table. * @param tablePrefix prefix to be used with default table name * @param create true if this constructor should create the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if an IO error occurs */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CategoryDBAdapterV0.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CategoryDBAdapterV0.java index 6c45bab1bb..63d9386a80 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CategoryDBAdapterV0.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CategoryDBAdapterV0.java @@ -4,9 +4,9 @@ * 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. @@ -39,7 +39,7 @@ class CategoryDBAdapterV0 extends CategoryDBAdapter { * @param handle handle to the database containing the table. * @param tablePrefix prefix to be used with default table name * @param create true if this constructor should create the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if an IO error occurs */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ComponentDBAdapterV0.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ComponentDBAdapterV0.java index 614ccfa3aa..3bb97c3635 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ComponentDBAdapterV0.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ComponentDBAdapterV0.java @@ -4,9 +4,9 @@ * 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. @@ -48,7 +48,7 @@ class ComponentDBAdapterV0 extends ComponentDBAdapter { * @param handle handle to the database containing the table. * @param tablePrefix prefix to be used with default table name * @param create true if this constructor should create the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if an IO error occurs */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapter.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapter.java index 4318cfa52f..3ec41cf890 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapter.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapter.java @@ -4,9 +4,9 @@ * 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. @@ -136,7 +136,7 @@ abstract class CompositeDBAdapter implements DBRecordAdapter { * @param tablePrefix prefix to be used with default table name * @param monitor task monitor * @return the adapter for the new upgraded version of the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if the database can't be read or written. * @throws CancelledException user cancelled upgrade diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapterV0.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapterV0.java index 646f3eb7c9..7d481edce2 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapterV0.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapterV0.java @@ -4,9 +4,9 @@ * 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. @@ -47,7 +47,7 @@ class CompositeDBAdapterV0 extends CompositeDBAdapter implements RecordTranslato /** * Gets a version 0 adapter for the Composite database table. * @param handle handle to the database containing the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. */ CompositeDBAdapterV0(DBHandle handle) throws VersionException { diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapterV1.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapterV1.java index 4a01f3628e..ce4ffcb2f8 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapterV1.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapterV1.java @@ -4,9 +4,9 @@ * 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. @@ -52,7 +52,7 @@ class CompositeDBAdapterV1 extends CompositeDBAdapter implements RecordTranslato /** * Gets a version 1 adapter for the Composite database table. * @param handle handle to the database containing the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. */ CompositeDBAdapterV1(DBHandle handle) throws VersionException { diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapterV2V4.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapterV2V4.java index 881dbb2bc9..781aca0a96 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapterV2V4.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapterV2V4.java @@ -4,9 +4,9 @@ * 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. @@ -66,7 +66,7 @@ class CompositeDBAdapterV2V4 extends CompositeDBAdapter implements RecordTransla /** * Gets a read-only adapter for the Composite database table. * @param handle handle to the database containing the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. */ CompositeDBAdapterV2V4(DBHandle handle) throws VersionException { diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapterV5V6.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapterV5V6.java index cc4af23bc0..355f0c8d91 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapterV5V6.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/CompositeDBAdapterV5V6.java @@ -4,9 +4,9 @@ * 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. @@ -71,7 +71,7 @@ class CompositeDBAdapterV5V6 extends CompositeDBAdapter { * @param handle handle to the database containing the table. * @param openMode the mode this adapter is to be opened for (CREATE, UPDATE, READ_ONLY, UPGRADE). * @param tablePrefix prefix to be used with default table name - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if IO error occurs */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/DataTypeArchiveTransformer.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/DataTypeArchiveTransformer.java index 8d6e3b670d..d059633825 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/DataTypeArchiveTransformer.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/DataTypeArchiveTransformer.java @@ -4,9 +4,9 @@ * 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. @@ -715,7 +715,7 @@ public class DataTypeArchiveTransformer implements GhidraLaunchable { UniversalID universalID = newDataType.getUniversalID(); SourceArchive sourceArchive = newDataType.getSourceArchive(); if (sourceArchive == newFileArchive.getLocalSourceArchive()) { - // Use the the old file archive as the source archive since local. + // Use the old file archive as the source archive since local. sourceArchive = oldFileArchive.getLocalSourceArchive(); } DataType oldDataType; diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumDBAdapter.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumDBAdapter.java index bb716d0723..9863aec5b0 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumDBAdapter.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumDBAdapter.java @@ -4,9 +4,9 @@ * 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. @@ -97,7 +97,7 @@ abstract class EnumDBAdapter { * @param tablePrefix prefix to be used with default table name * @param monitor task monitor * @return the adapter for the new upgraded version of the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if the database can't be read or written. * @throws CancelledException if task cancelled diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumDBAdapterV0.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumDBAdapterV0.java index deefcf4bdd..1370fb442c 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumDBAdapterV0.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumDBAdapterV0.java @@ -4,9 +4,9 @@ * 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. @@ -48,7 +48,7 @@ class EnumDBAdapterV0 extends EnumDBAdapter implements RecordTranslator { /** * Gets a version 0 adapter for the Enumeration database table. * @param handle handle to the database containing the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. */ public EnumDBAdapterV0(DBHandle handle) throws VersionException { diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumDBAdapterV1.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumDBAdapterV1.java index 4d61ba0306..906ec819f4 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumDBAdapterV1.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumDBAdapterV1.java @@ -4,9 +4,9 @@ * 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. @@ -54,7 +54,7 @@ class EnumDBAdapterV1 extends EnumDBAdapter { * @param handle handle to the database containing the table. * @param tablePrefix prefix to be used with default table name * @param create true if this constructor should create the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException an IO error occured during table creation */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumValueDBAdapter.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumValueDBAdapter.java index c318f8d620..033e42232e 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumValueDBAdapter.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumValueDBAdapter.java @@ -4,9 +4,9 @@ * 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. @@ -92,7 +92,7 @@ abstract class EnumValueDBAdapter implements RecordTranslator { * @param tablePrefix prefix to be used with default table name * @param monitor task monitor * @return the adapter for the new upgraded version of the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if the database can't be read or written. * @throws CancelledException if task is cancelled diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumValueDBAdapterV0.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumValueDBAdapterV0.java index 68226355e4..2eba78eef1 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumValueDBAdapterV0.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumValueDBAdapterV0.java @@ -4,9 +4,9 @@ * 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. @@ -36,7 +36,7 @@ class EnumValueDBAdapterV0 extends EnumValueDBAdapter { /** * Gets a version 0 adapter for the Enumeration Data Type Values database table. * @param handle handle to the database containing the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. */ EnumValueDBAdapterV0(DBHandle handle) throws VersionException { diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumValueDBAdapterV1.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumValueDBAdapterV1.java index 33522350c3..1739cfeab7 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumValueDBAdapterV1.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumValueDBAdapterV1.java @@ -4,9 +4,9 @@ * 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. @@ -40,7 +40,7 @@ class EnumValueDBAdapterV1 extends EnumValueDBAdapter { * @param handle handle to the database containing the table. * @param tablePrefix prefix to be used with default table name * @param create true if this constructor should create the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if IO error occurs */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionDefinitionDBAdapter.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionDefinitionDBAdapter.java index a5a4b0c761..e6bf16d7eb 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionDefinitionDBAdapter.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionDefinitionDBAdapter.java @@ -4,9 +4,9 @@ * 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. @@ -135,7 +135,7 @@ abstract class FunctionDefinitionDBAdapter implements DBRecordAdapter { * @param tablePrefix prefix to be used with default table name * @param monitor task monitor * @return the adapter for the new upgraded version of the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if the database can't be read or written. * @throws CancelledException if task is cancelled diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionDefinitionDBAdapterV0.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionDefinitionDBAdapterV0.java index 34ee8aec09..c04fbc6c9f 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionDefinitionDBAdapterV0.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionDefinitionDBAdapterV0.java @@ -4,9 +4,9 @@ * 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. @@ -52,7 +52,7 @@ class FunctionDefinitionDBAdapterV0 extends FunctionDefinitionDBAdapter /** * Gets a version 0 adapter for the Function Definition database table. * @param handle handle to the database containing the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. */ FunctionDefinitionDBAdapterV0(DBHandle handle) throws VersionException { diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionDefinitionDBAdapterV1.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionDefinitionDBAdapterV1.java index 3c89118faa..ca6ae8452b 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionDefinitionDBAdapterV1.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionDefinitionDBAdapterV1.java @@ -4,9 +4,9 @@ * 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. @@ -67,7 +67,7 @@ class FunctionDefinitionDBAdapterV1 extends FunctionDefinitionDBAdapter * (e.g., this adapter being used during upgrade operation). Should be null if not performing * an upgrade in which case calling convention IDs will reflect generic convention ordinals. * - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. */ public FunctionDefinitionDBAdapterV1(DBHandle handle, String tablePrefix, diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionDefinitionDBAdapterV2.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionDefinitionDBAdapterV2.java index e57118173b..f1b3cca12c 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionDefinitionDBAdapterV2.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionDefinitionDBAdapterV2.java @@ -4,9 +4,9 @@ * 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. @@ -52,7 +52,7 @@ class FunctionDefinitionDBAdapterV2 extends FunctionDefinitionDBAdapter { * @param handle handle to the database containing the table. * @param tablePrefix prefix to be used with default table name * @param create true if this constructor should create the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if an IO error occurs */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionParameterAdapter.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionParameterAdapter.java index 857f5ff198..dd6c8f4c60 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionParameterAdapter.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionParameterAdapter.java @@ -4,9 +4,9 @@ * 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. @@ -99,7 +99,7 @@ abstract class FunctionParameterAdapter { * @param tablePrefix prefix to be used with default table name * @param monitor task monitor * @return the adapter for the new upgraded version of the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if the database can't be read or written. * @throws CancelledException if task is cancelled diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionParameterAdapterNoTable.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionParameterAdapterNoTable.java index 7a713fb8f9..a994d0a0b7 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionParameterAdapterNoTable.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionParameterAdapterNoTable.java @@ -4,9 +4,9 @@ * 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. @@ -30,7 +30,7 @@ class FunctionParameterAdapterNoTable extends FunctionParameterAdapter { /** * Gets a pre-table version of the adapter for the Function Definition Parameters database table. * @param handle handle to the database which doesn't contain the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. */ public FunctionParameterAdapterNoTable(DBHandle handle) { diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionParameterAdapterV0.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionParameterAdapterV0.java index fb0b4dfaee..c2054f7512 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionParameterAdapterV0.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionParameterAdapterV0.java @@ -4,9 +4,9 @@ * 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. @@ -44,7 +44,7 @@ class FunctionParameterAdapterV0 extends FunctionParameterAdapter implements Rec /** * Gets a version 0 adapter for the Function Definition Parameter database table. * @param handle handle to the database containing the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. */ public FunctionParameterAdapterV0(DBHandle handle) throws VersionException { diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionParameterAdapterV1.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionParameterAdapterV1.java index 3a063a4550..ac511b0c5f 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionParameterAdapterV1.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/FunctionParameterAdapterV1.java @@ -4,9 +4,9 @@ * 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. @@ -49,7 +49,7 @@ class FunctionParameterAdapterV1 extends FunctionParameterAdapter { * @param handle handle to the database containing the table. * @param tablePrefix prefix to be used with default table name * @param create true if this constructor should create the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if an IO error occurs */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ParentChildDBAdapterNoTable.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ParentChildDBAdapterNoTable.java index 803392fcef..0ad8f470d2 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ParentChildDBAdapterNoTable.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ParentChildDBAdapterNoTable.java @@ -26,7 +26,7 @@ class ParentChildDBAdapterNoTable extends ParentChildAdapter { /** * Gets a pre-table version of the adapter for the Parent Child database table. * @param handle handle to the database which doesn't contain the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. */ ParentChildDBAdapterNoTable(DBHandle handle) { diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ParentChildDBAdapterV0.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ParentChildDBAdapterV0.java index aedb494d7b..5d80250222 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ParentChildDBAdapterV0.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ParentChildDBAdapterV0.java @@ -45,7 +45,7 @@ class ParentChildDBAdapterV0 extends ParentChildAdapter { * @param handle handle to the database containing the table. * @param tablePrefix prefix to be used with default table name * @param create true if this constructor should create the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if an IO error occurs */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/PointerDBAdapterV2.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/PointerDBAdapterV2.java index 8fb52b5b2d..21cb5e41c1 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/PointerDBAdapterV2.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/PointerDBAdapterV2.java @@ -4,9 +4,9 @@ * 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. @@ -35,7 +35,7 @@ class PointerDBAdapterV2 extends PointerDBAdapter { * @param handle handle to the database containing the table. * @param tablePrefix prefix to be used with default table name * @param create true if this constructor should create the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if IO error occurs */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/SourceArchiveAdapter.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/SourceArchiveAdapter.java index 57c52212b8..0deff8ddfa 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/SourceArchiveAdapter.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/SourceArchiveAdapter.java @@ -4,9 +4,9 @@ * 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. @@ -99,7 +99,7 @@ abstract class SourceArchiveAdapter { * @param handle handle to the database whose table is to be upgraded to a newer version. * @param oldAdapter the adapter for the existing table to be upgraded. * @return the adapter for the new upgraded version of the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if the database can't be read or written. * @throws CancelledException if task is cancelled diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/SourceArchiveAdapterNoTable.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/SourceArchiveAdapterNoTable.java index 5acb2119c4..52153c4632 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/SourceArchiveAdapterNoTable.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/SourceArchiveAdapterNoTable.java @@ -4,9 +4,9 @@ * 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. @@ -46,7 +46,7 @@ class SourceArchiveAdapterNoTable extends SourceArchiveAdapter { /** * Gets a pre-table version of the adapter for the data type archive ID database table. * @param handle handle to the database which doesn't contain the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. */ public SourceArchiveAdapterNoTable(DBHandle handle) { diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/SourceArchiveAdapterV0.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/SourceArchiveAdapterV0.java index 906fb60ad3..62f27cbed4 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/SourceArchiveAdapterV0.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/SourceArchiveAdapterV0.java @@ -4,9 +4,9 @@ * 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. @@ -49,7 +49,7 @@ class SourceArchiveAdapterV0 extends SourceArchiveAdapter { * @param handle handle to the database containing the table. * @param tablePrefix prefix to be used with default table name * @param create true if this constructor should create the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if an IO errr occurs */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/TypedefDBAdapter.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/TypedefDBAdapter.java index ef3b462d4c..1859711413 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/TypedefDBAdapter.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/TypedefDBAdapter.java @@ -4,9 +4,9 @@ * 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. @@ -100,7 +100,7 @@ abstract class TypedefDBAdapter { * @param tablePrefix prefix to be used with default table name * @param monitor task monitor * @return the adapter for the new upgraded version of the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if the database can't be read or written. * @throws CancelledException if task is cancelled diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/TypedefDBAdapterV0.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/TypedefDBAdapterV0.java index 5cc82a4675..47f8f0eebf 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/TypedefDBAdapterV0.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/TypedefDBAdapterV0.java @@ -4,9 +4,9 @@ * 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. @@ -46,7 +46,7 @@ class TypedefDBAdapterV0 extends TypedefDBAdapter implements RecordTranslator { /** * Gets a version 0 adapter for the Typedef database table. * @param handle handle to the database containing the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. */ public TypedefDBAdapterV0(DBHandle handle) throws VersionException { diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/TypedefDBAdapterV1.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/TypedefDBAdapterV1.java index dfafb6d81f..9573d8c955 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/TypedefDBAdapterV1.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/TypedefDBAdapterV1.java @@ -4,9 +4,9 @@ * 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. @@ -48,7 +48,7 @@ class TypedefDBAdapterV1 extends TypedefDBAdapter implements RecordTranslator { /** * Gets a version 1 adapter for the Typedef database table. * @param handle handle to the database containing the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. */ public TypedefDBAdapterV1(DBHandle handle) throws VersionException { diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/TypedefDBAdapterV2.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/TypedefDBAdapterV2.java index 495214d5a0..14bff6762f 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/TypedefDBAdapterV2.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/TypedefDBAdapterV2.java @@ -4,9 +4,9 @@ * 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. @@ -54,7 +54,7 @@ class TypedefDBAdapterV2 extends TypedefDBAdapter { * @param handle handle to the database containing the table. * @param tablePrefix prefix to be used with default table name * @param create true if this constructor should create the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if IO error occurs */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/mem/MemoryMapDB.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/mem/MemoryMapDB.java index 23bd060a3f..65189abc37 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/mem/MemoryMapDB.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/mem/MemoryMapDB.java @@ -4,9 +4,9 @@ * 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. @@ -1968,7 +1968,7 @@ public class MemoryMapDB implements Memory, ManagerDB, LiveMemoryListener { } /** - * Attempts to remove the the given overlay address space. Removal will only succeed if no + * Attempts to remove the given overlay address space. Removal will only succeed if no * memory blocks currently reside within the space. * * @param addressSpace overlay address space to be removed diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/FragmentDBAdapterV0.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/FragmentDBAdapterV0.java index b3fe929f7a..193a436b60 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/FragmentDBAdapterV0.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/FragmentDBAdapterV0.java @@ -4,9 +4,9 @@ * 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. @@ -39,7 +39,7 @@ class FragmentDBAdapterV0 extends FragmentDBAdapter { * @param handle handle to the database containing the table. * @param create true if this constructor should create the table. * @param treeID associated program tree ID - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if database IO error occurs */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/ModuleDBAdapterV0.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/ModuleDBAdapterV0.java index e4fa1c6d42..bcb9951071 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/ModuleDBAdapterV0.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/ModuleDBAdapterV0.java @@ -4,9 +4,9 @@ * 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. @@ -42,7 +42,7 @@ class ModuleDBAdapterV0 extends ModuleDBAdapter implements RecordTranslator { * @param handle handle to the database containing the table. * @param treeID associated program tree ID * @param parentChildAdapter parent/child database adapter - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if database IO error occurs */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/ModuleDBAdapterV1.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/ModuleDBAdapterV1.java index 167e6fe15f..84110d8272 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/ModuleDBAdapterV1.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/ModuleDBAdapterV1.java @@ -4,9 +4,9 @@ * 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. @@ -41,7 +41,7 @@ class ModuleDBAdapterV1 extends ModuleDBAdapter { * @param handle handle to the database containing the table. * @param create true if this constructor should create the table. * @param treeID associated program tree ID - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if database IO error occurs */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/ParentChildDBAdapterV0.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/ParentChildDBAdapterV0.java index 6c239a5344..4b25d9a3fb 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/ParentChildDBAdapterV0.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/ParentChildDBAdapterV0.java @@ -4,9 +4,9 @@ * 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. @@ -39,7 +39,7 @@ public class ParentChildDBAdapterV0 extends ParentChildDBAdapter { * @param handle handle to the database containing the table. * @param create true if this constructor should create the table. * @param treeID associated program tree ID - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if database IO error occurs */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/ProgramTreeDBAdapterV0.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/ProgramTreeDBAdapterV0.java index bf479b8dc4..1ff31f643b 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/ProgramTreeDBAdapterV0.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/module/ProgramTreeDBAdapterV0.java @@ -4,9 +4,9 @@ * 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. @@ -38,7 +38,7 @@ public class ProgramTreeDBAdapterV0 extends ProgramTreeDBAdapter { * Gets a version 0 adapter for the program tree database table. * @param handle handle to the database containing the table. * @param create true if this constructor should create the table. - * @throws VersionException if the the table's version does not match the expected version + * @throws VersionException if the table's version does not match the expected version * for this adapter. * @throws IOException if database IO error occurs */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/AddressSetMapping.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/AddressSetMapping.java index c3e0c67a96..3f19d43ace 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/AddressSetMapping.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/AddressSetMapping.java @@ -4,9 +4,9 @@ * 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. @@ -77,7 +77,7 @@ public class AddressSetMapping { */ private void setCurrentRange(int index) { // optimized for sequential access, so first just check if the index is one more - // than the the current range of indexes, if so just move to the next range. + // than the current range of indexes, if so just move to the next range. if (index == currentRangeEnd + 1) { currentRangeIndex++; currentRange = ranges.get(currentRangeIndex); diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/AddressSetView.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/AddressSetView.java index a4a6f08270..a0ecdf91a7 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/AddressSetView.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/AddressSetView.java @@ -4,9 +4,9 @@ * 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. @@ -95,10 +95,10 @@ public interface AddressSetView extends Iterable { /** * Returns an iterator of address ranges starting with the range that contains the given address. - * If there is no range containing the start address, then the the first range will be + * If there is no range containing the start address, then the first range will be * the next range greater than the start address if going forward, otherwise the range less than * the start address - * @param start the address the the first range should contain. + * @param start the address the first range should contain. * @param forward true iterators forward, false backwards * @return the AddressRange iterator */ @@ -120,10 +120,10 @@ public interface AddressSetView extends Iterable { /** * Returns an iterator of address ranges starting with the range that contains the given address. - * If there is no range containing the start address, then the the first range will be + * If there is no range containing the start address, then the first range will be * the next range greater than the start address if going forward, otherwise the range less than * the start address - * @param start the address the the first range should contain. + * @param start the address that the first range should contain. * @param forward true iterators forward, false backwards * @return the AddressRange iterator */ diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/DoubleComplexDataType.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/DoubleComplexDataType.java index c486ea1be2..704b235d01 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/DoubleComplexDataType.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/DoubleComplexDataType.java @@ -4,9 +4,9 @@ * 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. @@ -19,7 +19,7 @@ package ghidra.program.model.data; * Provides a definition of a {@code complex} built-in data type consisting of two double point * numbers in the IEEE 754 double precision format. *

      - * The size of the double point numbers is determined the the program's data organization as defined + * The size of the double point numbers is determined by the program's data organization as defined * by the language/compiler spec */ public class DoubleComplexDataType extends AbstractComplexDataType { diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/FloatComplexDataType.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/FloatComplexDataType.java index 2067a4e2ec..66fc21068c 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/FloatComplexDataType.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/FloatComplexDataType.java @@ -4,9 +4,9 @@ * 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. @@ -19,7 +19,7 @@ package ghidra.program.model.data; * Provides a definition of a {@code complex} built-in data type consisting of two floating point * numbers in the IEEE 754 double precision format. *

      - * The size of the floating point numbers is determined the the program's data organization as defined + * The size of the floating point numbers is determined by the program's data organization as defined * by the language/compiler spec */ public class FloatComplexDataType extends AbstractComplexDataType { diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/LongDoubleComplexDataType.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/LongDoubleComplexDataType.java index 0da8dde876..bf15289bd2 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/LongDoubleComplexDataType.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/LongDoubleComplexDataType.java @@ -4,9 +4,9 @@ * 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. @@ -19,7 +19,7 @@ package ghidra.program.model.data; * Provides a definition of a {@code complex} built-in data type consisting of two LongDouble * numbers in the IEEE 754 double precision format. *

      - * The size of the LongDouble floating point numbers is determined the the program's data organization as defined + * The size of the LongDouble floating point numbers is determined by the program's data organization as defined * by the language/compiler spec */ public class LongDoubleComplexDataType extends AbstractComplexDataType { diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/listing/ProgramContext.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/listing/ProgramContext.java index effd7d8e60..c1157209e3 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/listing/ProgramContext.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/listing/ProgramContext.java @@ -4,9 +4,9 @@ * 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. @@ -144,7 +144,7 @@ public interface ProgramContext { Address end); /** - * Returns the bounding address-range containing addr and the the same RegisterValue throughout. + * Returns the bounding address-range containing addr and the same RegisterValue throughout. * The range returned may be limited by other value changes associated with register's base-register. * @param register program register * @param addr program address diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/symbol/SymbolTableListener.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/symbol/SymbolTableListener.java index 4d07ac51c9..befbeb5a22 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/symbol/SymbolTableListener.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/symbol/SymbolTableListener.java @@ -1,13 +1,12 @@ /* ### * IP: GHIDRA - * REVIEWED: YES * * 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. @@ -46,7 +45,7 @@ public interface SymbolTableListener { public void symbolRenamed(SourceType symbol, String oldName); /** - * Notification the the given symbol was set as the primary symbol. + * Notification that the given symbol was set as the primary symbol. * @param symbol the symbol that is now primary. */ public void primarySymbolSet(SourceType symbol); diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/BytesFieldLocation.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/BytesFieldLocation.java index 25b5859992..4d5b0f1988 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/BytesFieldLocation.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/BytesFieldLocation.java @@ -4,9 +4,9 @@ * 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. @@ -32,7 +32,7 @@ public class BytesFieldLocation extends CodeUnitLocation { * @param componentPath the data component path which is specified as an array of indexes * where each index indicates the index into nested structures. For instructions or * simple data, this should be null. - * @param columnInByte the character position in the the bytes + * @param columnInByte the character position in the bytes */ public BytesFieldLocation(Program program, Address addr, Address byteAddress, int[] componentPath, int columnInByte) { diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/FunctionSignatureFieldLocation.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/FunctionSignatureFieldLocation.java index b7ed094968..9116b83b38 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/FunctionSignatureFieldLocation.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/FunctionSignatureFieldLocation.java @@ -4,9 +4,9 @@ * 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. @@ -33,7 +33,7 @@ public class FunctionSignatureFieldLocation extends FunctionLocation { /** * When true the charOffset is not used to represent character position, but * rather the character position is based upon the location of the subfield within the - * signature. For example, the start of the function name location may be the the character + * signature. For example, the start of the function name location may be the character * position when this flag is true. */ private boolean isFieldBasedPoisitioning; diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/RangeMapAdapter.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/RangeMapAdapter.java index 53e4408616..fa154f8651 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/RangeMapAdapter.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/RangeMapAdapter.java @@ -4,9 +4,9 @@ * 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. @@ -96,7 +96,7 @@ public interface RangeMapAdapter { throws CancelledException; /** - * Returns the bounding address-range containing addr and the the same value throughout. + * Returns the bounding address-range containing addr and the same value throughout. * This range will be limited by any value change associated with the base register. * @param addr the containing address * @return single value address-range containing addr diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/RegisterValueStore.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/RegisterValueStore.java index a38510a3af..5463a55946 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/RegisterValueStore.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/RegisterValueStore.java @@ -4,9 +4,9 @@ * 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. @@ -317,7 +317,7 @@ public class RegisterValueStore { } /** - * Returns the bounding address-range containing addr and the the same value throughout. + * Returns the bounding address-range containing addr and the same value throughout. * This range will be limited by any value change associated with the base register. * @param addr the contained address * @return single value address-range containing addr diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/service/graph/GraphDisplay.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/service/graph/GraphDisplay.java index a654c1a10a..b8b2d45420 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/service/graph/GraphDisplay.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/service/graph/GraphDisplay.java @@ -4,9 +4,9 @@ * 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. @@ -47,7 +47,7 @@ public interface GraphDisplay { * @param eventTrigger Provides a hint to the GraphDisplay as to why we are updating the * graph location so that the GraphDisplay can decide if it should send out a notification via * the {@link GraphDisplayListener#locationFocusChanged(AttributedVertex)}. For example, if we - * are updating the the location due to an event from the main application, we don't want to + * are updating the location due to an event from the main application, we don't want to * notify the application the graph changed to avoid event cycles. See {@link EventTrigger} for * more information. */ @@ -73,7 +73,7 @@ public interface GraphDisplay { * @param eventTrigger Provides a hint to the GraphDisplay as to why we are updating the * graph location so that the GraphDisplay can decide if it should send out a notification via * the {@link GraphDisplayListener#selectionChanged(Set)}. For example, if we are updating - * the the location due to an event from the main application, we don't want to notify the + * the location due to an event from the main application, we don't want to notify the * application the graph changed to avoid event cycles. See {@link EventTrigger} for more * information. */ diff --git a/Ghidra/Framework/Utility/src/main/java/utility/module/ModuleUtilities.java b/Ghidra/Framework/Utility/src/main/java/utility/module/ModuleUtilities.java index 4092cbfe0a..261175ea39 100644 --- a/Ghidra/Framework/Utility/src/main/java/utility/module/ModuleUtilities.java +++ b/Ghidra/Framework/Utility/src/main/java/utility/module/ModuleUtilities.java @@ -4,9 +4,9 @@ * 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. @@ -165,7 +165,7 @@ public class ModuleUtilities { /** * Searches for modules in a given collection of module root directories. * - * @param appRootDirs The collection of application root directories associated with the the given + * @param appRootDirs The collection of application root directories associated with the given * list of module root directories. * @param moduleRootDirs A collection of module root directories to search for modules in. * @return The discovered modules as a map (mapping module name to module for convenience). @@ -180,7 +180,7 @@ public class ModuleUtilities { /** * Searches for modules in a given collection of module root directories. * - * @param appRootDirs The collection of application root directories associated with the the given + * @param appRootDirs The collection of application root directories associated with the given * list of module root directories. * @param moduleRootDirs A collection of module root directories to search for modules in. * @param moduleFilter a predicate used to filter modules; a given module will not be included diff --git a/Ghidra/Processors/Dalvik/src/main/java/ghidra/dalvik/dex/inject/ConstantPoolDex.java b/Ghidra/Processors/Dalvik/src/main/java/ghidra/dalvik/dex/inject/ConstantPoolDex.java index 942527c795..ed034b94f7 100644 --- a/Ghidra/Processors/Dalvik/src/main/java/ghidra/dalvik/dex/inject/ConstantPoolDex.java +++ b/Ghidra/Processors/Dalvik/src/main/java/ghidra/dalvik/dex/inject/ConstantPoolDex.java @@ -4,9 +4,9 @@ * 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. @@ -119,7 +119,7 @@ public class ConstantPoolDex extends ConstantPool { } res.tag = ConstantPool.POINTER_METHOD; // The FunctionDefinition is constructed on the fly, essentially as an anonymous type - // We use an internal naming scheme involding the the methodID to avoid name collisions + // We use an internal naming scheme involding the methodID to avoid name collisions String defName = res.token + '_' + Integer.toHexString(methodID); FunctionDefinitionDataType funcDef = new FunctionDefinitionDataType(defName, dtManager); res.type = new PointerDataType(funcDef); diff --git a/Ghidra/Processors/JVM/src/main/java/ghidra/javaclass/format/DescriptorDecoder.java b/Ghidra/Processors/JVM/src/main/java/ghidra/javaclass/format/DescriptorDecoder.java index 0683eafd27..0714d8008a 100644 --- a/Ghidra/Processors/JVM/src/main/java/ghidra/javaclass/format/DescriptorDecoder.java +++ b/Ghidra/Processors/JVM/src/main/java/ghidra/javaclass/format/DescriptorDecoder.java @@ -4,9 +4,9 @@ * 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. @@ -198,7 +198,7 @@ public class DescriptorDecoder { } - //now add the the name of the return type + //now add the name of the return type String returnType = methodDescriptor.substring(closeParenIndex + 1, methodDescriptor.length()); typeNames.add(getTypeNameFromDescriptor(returnType, fullyQualifiedName, replaceSlash)); @@ -469,7 +469,7 @@ public class DescriptorDecoder { } /** - * Given an invocation type and an element in the constant pool, follows references in the the constant + * Given an invocation type and an element in the constant pool, follows references in the constant * pool and returns the appropriate method descriptor. * @param offset * @param constantPool diff --git a/Ghidra/Processors/JVM/src/main/java/ghidra/javaclass/format/attributes/RuntimeParameterAnnotationsAttribute.java b/Ghidra/Processors/JVM/src/main/java/ghidra/javaclass/format/attributes/RuntimeParameterAnnotationsAttribute.java index bafa1028ef..ddd7ddfd50 100644 --- a/Ghidra/Processors/JVM/src/main/java/ghidra/javaclass/format/attributes/RuntimeParameterAnnotationsAttribute.java +++ b/Ghidra/Processors/JVM/src/main/java/ghidra/javaclass/format/attributes/RuntimeParameterAnnotationsAttribute.java @@ -4,9 +4,9 @@ * 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. @@ -36,7 +36,7 @@ import ghidra.util.exception.DuplicateNameException; * The RuntimeInvisibleParameterAnnotations attribute is similar to the * RuntimeVisibleParameterAnnotations attribute, except that the annotations * represented by a RuntimeInvisibleParameterAnnotations attribute must not - * be made available for return by reflective APIs, unless the the Java virtual + * be made available for return by reflective APIs, unless the Java virtual * machine has specifically been instructed to retain these annotations via some * implementation-specific mechanism such as a command line flag. In the absence * of such instructions, the Java virtual machine ignores this attribute. diff --git a/Ghidra/Processors/PIC/src/main/java/ghidra/app/util/bin/format/elf/extend/PIC30_ElfExtension.java b/Ghidra/Processors/PIC/src/main/java/ghidra/app/util/bin/format/elf/extend/PIC30_ElfExtension.java index fa7cf19903..f69208bfd6 100644 --- a/Ghidra/Processors/PIC/src/main/java/ghidra/app/util/bin/format/elf/extend/PIC30_ElfExtension.java +++ b/Ghidra/Processors/PIC/src/main/java/ghidra/app/util/bin/format/elf/extend/PIC30_ElfExtension.java @@ -4,9 +4,9 @@ * 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. @@ -59,7 +59,7 @@ public class PIC30_ElfExtension extends ElfExtension { /** NOTES: - EDS/PSV Sections - section data resides with ROM space but is accessable via the + EDS/PSV Sections - section data resides with ROM space but is accessable via the RAM data space at 0x8000 - 0xFFFF with the use of page register. Page use may vary by CPU (EDS, PSV low-word access, PSV high-word access). PSV high-word access capability is only provided when EDS is supported. See page registers diff --git a/Ghidra/RuntimeScripts/Common/support/analyzeHeadlessREADME.html b/Ghidra/RuntimeScripts/Common/support/analyzeHeadlessREADME.html index 963a5f2161..429a2775d4 100644 --- a/Ghidra/RuntimeScripts/Common/support/analyzeHeadlessREADME.html +++ b/Ghidra/RuntimeScripts/Common/support/analyzeHeadlessREADME.html @@ -364,7 +364,7 @@ The Headless Analyzer uses the command-line parameters discussed below. See script.log in the user directory, by default.

      - Note: Only the built-in scripting print methods will print to the the + Note: Only the built-in scripting print methods will print to the script log file (print, println, printf, printerr). diff --git a/GhidraBuild/LaunchSupport/src/main/java/LaunchSupport.java b/GhidraBuild/LaunchSupport/src/main/java/LaunchSupport.java index b0e72f23af..a3df9fff0a 100644 --- a/GhidraBuild/LaunchSupport/src/main/java/LaunchSupport.java +++ b/GhidraBuild/LaunchSupport/src/main/java/LaunchSupport.java @@ -4,9 +4,9 @@ * 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. @@ -196,7 +196,7 @@ public class LaunchSupport { /** * Handles interacting with the user to choose a Java home directory to use for the launch. - * If a valid Java home directory was successfully determined, it is saved to the the user's + * If a valid Java home directory was successfully determined, it is saved to the user's * Java home save file, and an exit code that indicates success is returned. * * @param javaConfig The Java configuration that defines what we support. diff --git a/GhidraDocs/GhidraClass/Debugger/A4-MachineState.html b/GhidraDocs/GhidraClass/Debugger/A4-MachineState.html index 1b19ac86be..31bd698081 100644 --- a/GhidraDocs/GhidraClass/Debugger/A4-MachineState.html +++ b/GhidraDocs/GhidraClass/Debugger/A4-MachineState.html @@ -536,7 +536,7 @@ size:

    5. Truncation: RAX:4 — Equivalent to EAX
    6. Truncation: AL + RBX(4) — AL added to -the the 5th byte of RBX
    7. +the 5th byte of RBX
    8. Bit Extraction: RAX[7,8] — Equivalent to AL
    9. diff --git a/GhidraDocs/GhidraClass/Debugger/A4-MachineState.md b/GhidraDocs/GhidraClass/Debugger/A4-MachineState.md index 3e15263666..05341d1a11 100644 --- a/GhidraDocs/GhidraClass/Debugger/A4-MachineState.md +++ b/GhidraDocs/GhidraClass/Debugger/A4-MachineState.md @@ -311,7 +311,7 @@ To manipulate variable size: * **Zero Extension**: `RAX + zext(EBX)` * **Sign Extension**: `RAX + sext(EBX)` * **Truncation**: `RAX:4` — Equivalent to `EAX` -* **Truncation**: `AL + RBX(4)` — AL added to the the 5th byte of RBX +* **Truncation**: `AL + RBX(4)` — AL added to the 5th byte of RBX * **Bit Extraction**: `RAX[7,8]` — Equivalent to `AL` **NOTE**: The second form of truncation drops the least-significant 4 bytes of RBX and takes as many of the remaining bytes (1 in this case) as necessary to match size with AL. diff --git a/GhidraDocs/languages/html/sleigh_context.html b/GhidraDocs/languages/html/sleigh_context.html index 0239994cde..f847f08ec6 100644 --- a/GhidraDocs/languages/html/sleigh_context.html +++ b/GhidraDocs/languages/html/sleigh_context.html @@ -264,7 +264,7 @@ select s registers. As is described in
      Section 8.2, “Local Context Change”, these assignments by themselves cause only a local context change. However, the subsequent globalset directives make -the change persist outside of the the instructions +the change persist outside of the instructions themselves. The globalset directive takes two parameters, the second being the particular context variable being changed. The first parameter indicates the first address where diff --git a/licenses/Nuvola_Icons_-_LGPL_2.1.txt b/licenses/Nuvola_Icons_-_LGPL_2.1.txt index 1458fd10df..fd5bc82076 100644 --- a/licenses/Nuvola_Icons_-_LGPL_2.1.txt +++ b/licenses/Nuvola_Icons_-_LGPL_2.1.txt @@ -19,7 +19,7 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public -License along with this library (see the the license.txt file); if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +License along with this library (see the license.txt file); if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #######**** NOTE THIS ADD-ON ****####### The GNU Lesser General Public License or LGPL is written for software libraries in the first place. The LGPL has to be considered valid for this artwork