def process_kwargs(obj, kwargs):
 with Modules() as m:
  kwargs = m.kwargs(obj, kwargs)
 return kwargs

def process_kwargs ( obj , kwargs ) : with Modules ( ) as m : kwargs = m . kwargs ( obj , kwargs ) return kwargs
convenience wrapper around binwalk .