def is_64bit_capable(addr_space):
 x86_64_flag_addr = addr_space.profile.get_symbol('_x86_64_flag')
 if x86_64_flag_addr:
  x86_64_flag = obj.Object('int', offset=x86_64_flag_addr, vm=addr_space)
  ret = (x86_64_flag == 1)
 else:
  ret = True
 return ret

def is_64bit_capable ( addr_space ) : x86_64_flag_addr = addr_space . profile . get_symbol ( '_x86_64_flag' ) if x86_64_flag_addr : x86_64_flag = obj . Object ( 'int' , offset = x86_64_flag_addr , vm = addr_space ) ret = ( x86_64_flag == 1 ) else : ret = True return ret
test if the as is capable of doing 64-bits .