mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-31 11:30:53 +08:00
GT-2715 changed string in uninitialized memory to render as "??"
This commit is contained in:
+1
-1
@@ -625,7 +625,7 @@ public class StringDataInstance {
|
|||||||
*/
|
*/
|
||||||
public String getStringRepresentation() {
|
public String getStringRepresentation() {
|
||||||
|
|
||||||
if (isProbe() || isBadCharSize()) {
|
if (isProbe() || isBadCharSize() || !buf.isInitializedMemory()) {
|
||||||
return UNKNOWN;
|
return UNKNOWN;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user