Skip to content

Commit

Permalink
Bump Expression.numSubexpressions from UInt8 to UInt
Browse files Browse the repository at this point in the history
We've seen crashes due to it overflowing the UInt8 range and the
Expression struct likely anyway has unused padding bytes that can be
used for the integer instead.
  • Loading branch information
Samuel Groß committed Jul 23, 2024
1 parent c988c91 commit 23fc26c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Fuzzilli/Lifting/Expression.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public struct Expression: CustomStringConvertible {
public let type: ExpressionType
public let text: String

let numSubexpressions: UInt8
let numSubexpressions: UInt

public var characteristic: ExpressionType.Characteristic {
return type.characteristic
Expand Down

0 comments on commit 23fc26c

Please sign in to comment.