mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-02 14:28:04 +08:00
Merge branch 'GP-0_ryanmkurtz_PR-7394_hippietrail_input-spelling'
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
/* ###
|
/* ###
|
||||||
* IP: GHIDRA
|
* IP: GHIDRA
|
||||||
* REVIEWED: YES
|
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -14,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* 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).
|
//Make sure your table entry is defined data (db,dw,etc).
|
||||||
//@category ARM
|
//@category ARM
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* 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
|
// @category Examples
|
||||||
import ghidra.app.script.GhidraScript;
|
import ghidra.app.script.GhidraScript;
|
||||||
import ghidra.features.base.values.GhidraValuesMap;
|
import ghidra.features.base.values.GhidraValuesMap;
|
||||||
|
|||||||
+3
-2
@@ -19,7 +19,7 @@ import javax.swing.JTextField;
|
|||||||
import javax.swing.text.*;
|
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 "-",
|
* 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
|
* ".", 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
|
* 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.
|
* 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) {
|
public FloatingPointTextField(int columns, double initialValue) {
|
||||||
this(columns);
|
this(columns);
|
||||||
|
|||||||
Reference in New Issue
Block a user