diff options
| author | Glenn Smith <glenn@vector35.com> | 2023-02-03 15:54:05 -0500 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2023-02-03 15:54:05 -0500 |
| commit | 0040680162346244007937629418757849469432 (patch) | |
| tree | cd570dc80a5ee5178e7f179e06bdc98cd41a8254 /architecture.cpp | |
| parent | 5bd02a445a8f7e4d560175ed6cdc35458ad78e7a (diff) | |
Fix InstructionTextToken default ctor not initializing members
Fixes #3596
Diffstat (limited to 'architecture.cpp')
| -rw-r--r-- | architecture.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/architecture.cpp b/architecture.cpp index 3c44202f..50cb09cc 100644 --- a/architecture.cpp +++ b/architecture.cpp @@ -50,7 +50,8 @@ void InstructionInfo::AddBranch(BNBranchType type, uint64_t target, Architecture InstructionTextToken::InstructionTextToken() : - type(TextToken), value(0), width(WidthIsByteCount), confidence(BN_FULL_CONFIDENCE) + type(TextToken), value(0), width(WidthIsByteCount), size(0), operand(BN_INVALID_OPERAND), + context(NoTokenContext), confidence(BN_FULL_CONFIDENCE), address(0) { if (width == WidthIsByteCount) { |
