mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-5237 extended feature that strips quotes from string transferables to
also look for strings that start with '= "' for autocomment strings
This commit is contained in:
@@ -21,7 +21,7 @@ import java.util.List;
|
|||||||
|
|
||||||
public class StringTransferable implements Transferable {
|
public class StringTransferable implements Transferable {
|
||||||
private static final List<String> STRING_LITERAL_PREFIXES =
|
private static final List<String> STRING_LITERAL_PREFIXES =
|
||||||
List.of("\"", "u8\"", "u\"", "U\"", "L\"");
|
List.of("\"", "u8\"", "u\"", "U\"", "L\"", "= \"");
|
||||||
|
|
||||||
protected String data = null;
|
protected String data = null;
|
||||||
private DataFlavor[] flavors = { DataFlavor.stringFlavor };
|
private DataFlavor[] flavors = { DataFlavor.stringFlavor };
|
||||||
|
|||||||
Reference in New Issue
Block a user