diff options
| author | Glenn Smith <glenn@vector35.com> | 2022-10-03 17:24:16 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2022-10-03 17:24:16 -0400 |
| commit | 9f4b0d882a5fd4c7d46c8515694f72fc5845e1ab (patch) | |
| tree | 450f09aaa67b92e351d5cc25924aba17513f3d68 /binaryview.cpp | |
| parent | 727d2be6872c878b5ed49b8dd33c23a6543826f6 (diff) | |
Fix typo in BinaryView::ParseTypesFromSource
This was causing ASAN crashes
Diffstat (limited to 'binaryview.cpp')
| -rw-r--r-- | binaryview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binaryview.cpp b/binaryview.cpp index e8c080df..dba92d7c 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -3363,7 +3363,7 @@ bool BinaryView::ParseTypesFromSource(const string& source, const vector<string> result.variables.push_back({ QualifiedName::FromAPIObject(&apiResult.variables[j].name), new Type(BNNewTypeReference(apiResult.variables[j].type)), - apiResult.types[j].isUser + apiResult.variables[j].isUser }); } @@ -3373,7 +3373,7 @@ bool BinaryView::ParseTypesFromSource(const string& source, const vector<string> result.functions.push_back({ QualifiedName::FromAPIObject(&apiResult.functions[j].name), new Type(BNNewTypeReference(apiResult.functions[j].type)), - apiResult.types[j].isUser + apiResult.functions[j].isUser }); } |
