one way could be finding next function and calculating their distance but i do not know how to guarantee functions orders or how to find next function.
and this is for code injetion in case of remote SetPriorityClass for PROCESS_MODE_BACKGROUND_BEGIN which is not possible on other processes handles.
another way could be a dummy function call at the end of function and memmem for it but again i'm not an asm expert don't know if i could find it.
Size of the function? Do you mean to calculate the total bytes it takes in the code section of the generated binary? Why do you need to do this?
Обсуждают сегодня