DoranekoSystems / frida-ceserver

Frida-based ceserver: A fusion of Cheat Engine and Frida.
GNU General Public License v3.0
213 stars 55 forks source link

Is it possible to increase the speed of pointer scanning more than the original ceserver? #16

Open Thekidiacs opened 5 months ago

Thekidiacs commented 5 months ago

One of the biggest problems from the original ceserver that I experienced on my "real device" (not emulator) was that it takes like 20-35 minutes for a single pointer scan to finish.

Thekidiacs commented 5 months ago

This problem is also present even with making the network compression higher.

DoranekoSystems commented 5 months ago

Probably possible.

I assume that the reason for the slow ceserver pointer scan is mostly due to the time it takes to make a large number of network connections to remote devices. I'm now considering implementing a new api that takes a snapshot of the entire memory in a few times and reads the memory from the pseudo snapshot during ReadProcessMemory.

The speed of pointer scanning is expected to be greatly improved.

DoranekoSystems commented 5 months ago

By reading the entire memory all at once, the pointer scan is 5-10 times faster by feel. I will write more details later.