MCPcopy Create free account
hub / github.com/OpenIntelWireless/IntelBluetoothFirmware / CIntelBTPatcher

Class CIntelBTPatcher

IntelBTPatcher/IntelBTPatcher.hpp:76–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76class CIntelBTPatcher {
77public:
78 bool init();
79 void free();
80
81 void processKext(KernelPatcher &patcher, size_t index, mach_vm_address_t address, size_t size);
82 static IOReturn newFindQueueRequest(void *that, unsigned short arg1, void *addr, unsigned short arg2, bool arg3, void **hciRequestPtr);
83
84 static IOReturn newHostDeviceRequest(void *that, IOService *provider, StandardUSB::DeviceRequest &request, void *data, IOMemoryDescriptor *descriptor, unsigned int &length,IOUSBHostCompletion *completion, unsigned int timeout);
85
86
87 mach_vm_address_t oldFindQueueRequest {};
88 mach_vm_address_t oldHostDeviceRequest {};
89
90private:
91 static bool _randomAddressInit;
92};
93
94#endif /* IntelBTPatcher_h */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected