parameters: (executable)
return_statement: return (bits & reqbits) == reqbits
docstring: PIE: DllCharacteristics bit 0x40 signifies dynamicbase (ASLR)
docstring_summary: PIE: DllCharacteristics bit 0x40 signifies dynamicbase (ASLR)
docstring_tokens: PIE : DllCharacteristics bit 0x40 signifies dynamicbase ( ASLR )
function: def check_PE_DYNAMIC_BASE(executable):
      '''PIE: DllCharacteristics bit 0x40 signifies dynamicbase (ASLR)'''
      (arch,bits) = get_PE_dll_characteristics(executable)
      reqbits = IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE
      return (bits & reqbits) == reqbits
function_tokens: def check_PE_DYNAMIC_BASE ( executable ) : ( arch , bits ) = get_PE_dll_characteristics ( executable ) reqbits = IMAGE_DLL_CHARACTERISTICS_DYNAMIC_BASE return ( bits & reqbits ) == reqbits