On Saturday, March 3, 2012 8:36:56 PM UTC-5, Jeffrey Walton wrote:
>
> *nix, on the other hand, does not provide an equivalent DllMain entry
> point. I believe you will need to use GCC's
> __attribute__((constructor)) on a global object; and have the global
> object perform the startup verification. If verification fails, throw
> an exception.
>
This trivially fails by simply editing the startup routine out, or using a 
custom runtime linker which never calls it.  To be meaningful, such checks 
have to be intertwined with critical functionality, such that dissecting 
them out while leaving the functionality intact is more trouble than you 
believe the result to be worth.

>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Security Discussions" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/android-security-discuss/-/gtwq2KgSzjkJ.
To post to this group, send email to android-security-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
android-security-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/android-security-discuss?hl=en.

Reply via email to