android - How to get the Address of the function call dynamically from the process -


i looking way address of function call programatically: public abstract void onkey (int primarycode, int[] keycodes) keyboardview.onkeyboardactionlistener interface.

are address of these functions static? i.e loaded in same memory.

i'm trying achieve tamper protection key loggers.

your question fundamentally doesn't make sense, because asking how take function pointer when, in fact, java not have equivalent of function pointers (you see references functions in dynamic dispatch through object).

addresses of functions may static or may not exist @ all, transparent you, code run in virtual machine. if instead asking @ ndk level, can surely take address of function using simple & in c. however, @ java level not possible.

you not clarify, however, why prevent keyloggers.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -