Beispiel #1
0
 def get_function_by_name(self, name):
     name = types.QualifiedName(name)._get_core_struct()
     obj = core.BNGetPlatformFunctionByName(self.handle, name)
     if not obj:
         return None
     return types.Type(obj, platform=self)
Beispiel #2
0
 def generate_auto_platform_type_id(self, name):
     name = types.QualifiedName(name)._get_core_struct()
     return core.BNGenerateAutoPlatformTypeId(self.handle, name)
Beispiel #3
0
	def get_variable_by_name(self, name):
		name = types.QualifiedName(name)._get_core_struct()
		obj = core.BNGetPlatformVariableByName(self.handle, name)
		if not obj:
			return None
		return types.Type(obj)