clusterfuzz icon indicating copy to clipboard operation
clusterfuzz copied to clipboard

AFL can't start due to invalid LSAN_OPTIONS

Open bbarwik opened this issue 3 years ago • 2 comments

When starting AFL job with engine_asan, there's the following fatal error:

Custom LSAN_OPTIONS set without symbolize=0 - please fix!

It exists because for engine_asan the env LSAN is set to True To fix it I've changed

def get_lsan_options():
  """Generates default LSAN options."""
  lsan_suppressions_path = get_suppressions_file('lsan')
  lsan_options = {
      'print_suppressions': 0,
  }

to

def get_lsan_options():
  """Generates default LSAN options."""
  lsan_suppressions_path = get_suppressions_file('lsan')
  lsan_options = {
      'print_suppressions': 0,
      'symbolize': 0
  }

bbarwik avatar Oct 04 '22 14:10 bbarwik

@jonathanmetzman is this something you've seen before? This is coming from AFL++ itself right?

oliverchang avatar Oct 05 '22 02:10 oliverchang

I haven't seen this. Yeah from AFL++ itself, but it's weird that they are seeing this and not us.

jonathanmetzman avatar Oct 31 '22 18:10 jonathanmetzman