Module: NdrError::Fuzzing

Included in:
Log
Defined in:
lib/ndr_error/fuzzing.rb

Overview

Mixin to help with fuzzing of exception messages/traces.

Instance Method Summary collapse

Instance Method Details

#fuzz(description, backtrace) ⇒ Object



4
5
6
# File 'lib/ndr_error/fuzzing.rb', line 4

def fuzz(description, backtrace)
  Digest::MD5.hexdigest(fuzz_description(description) + fuzz_backtrace(backtrace))
end