mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-31 22:14:26 +08:00
Merge branch 'GP-0_ryanmkurtz_PR-7394_hippietrail_input-spelling'
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
//With a user-inputed base address, this script will add a reference on the current switch table entry to corresponding code
|
||||
//With a user-input base address, this script will add a reference on the current switch table entry to corresponding code
|
||||
//Make sure your table entry is defined data (db,dw,etc).
|
||||
//@category ARM
|
||||
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
* 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.
|
||||
*/
|
||||
// Example script for showing how to use the "AskValues" script method for inputing multiple values
|
||||
// Example script for showing how to use the "AskValues" script method for inputting multiple values
|
||||
// @category Examples
|
||||
import ghidra.app.script.GhidraScript;
|
||||
import ghidra.features.base.values.GhidraValuesMap;
|
||||
|
||||
+5
-4
@@ -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 javax.swing.JTextField;
|
||||
import javax.swing.text.*;
|
||||
|
||||
/**
|
||||
* A simple text field for inputing floating point numbers. The field is continuously validated so
|
||||
* A simple text field for inputting floating point numbers. The field is continuously validated so
|
||||
* that only valid characters and values can be entered. If the text is blank or contains only "-",
|
||||
* ".", or "-.", the value is considered to be 0. You can optionally set a min and max value. In
|
||||
* order for the continuous validation to work, the max must be a non-negative number and the min
|
||||
@@ -41,7 +41,8 @@ public class FloatingPointTextField extends JTextField {
|
||||
|
||||
/**
|
||||
* Constructs a new FloatingPointTextField initialized with the given value.
|
||||
* @param columns the number of columns for determining the preferred width
|
||||
* @param columns the number of columns for determining the preferred width
|
||||
* @param initialValue the initial value
|
||||
*/
|
||||
public FloatingPointTextField(int columns, double initialValue) {
|
||||
this(columns);
|
||||
|
||||
Reference in New Issue
Block a user