MCPcopy Create free account
hub / github.com/ZYPyDoki/Gg_Docking_Kernel / write

Method write

KernelGg/KpmApReadioctl/jni/KpmApReadioctl.h:174–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172 }
173
174 bool write(uint64_t addr, void *buffer, int size){
175 kread.addr = addr & 0xffffffffffff;
176 kread.size = size;
177 kread.buffer = buffer;
178 int ret = ioctl(-1,cmd_write,&kread);
179 //syscall(entry,-1, cmd_write,&kread);
180 //ioctl(-1,cmd_write,&kread);
181 if(ret<0){
182 // //std::cout<<"write error"<<std::endl;
183 return false;
184 }
185 return true;
186 }
187
188
189 uintptr_t get_module_base(std::string name){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected