Android NDK ability to decompile native code

Is it possible to decode native code compiled and favorite for android via ndk?

and is it possible to restore the project from apk and import it into eclipse (or any other IDE)?

Is it possible to use the files .soin the apk file again to restore the project or with another project if the declaration of the native Java function is performed accordingly?

+4
source share
4 answers

Decompiling native into source code (maybe I'm not trying), maybe there are tools like this https://www.hex-rays.com/products/decompiler/

apk, ( ). apk2gold (https://github.com/lxdvs/apk2gold)

, - .

+2

apk ( IDE)?

dex apk.

, Android ndk?

.so apk , Java ?

, . Java. , , .

0

, Android, ndk?

; C/++, .

apk eclipse ( IDE)?

baksmali ().apk, - , smali () . , .

Java , , , , , .

, , .

, , , onClick().

.so apk , Java ?

.so as-is ( - .so). .jar .apk .jar .

, .jar.

0

.

apk

, . .class , . .

. - private static String SECRET = "sesame123";. . - , , .so.

.so apk

.

, "". , , () Java- . (source-) "" . - , , ( , . ), , .

:

a) .

b) Java source is much easier to recover from compiled files .class; code obfuscation can complicate the job.

c) Any functionality that your application may have, native or not, can be easily extracted and used by another application that an attacker could write.

See also: http://en.wikipedia.org/wiki/Security_through_obscurity

-1
source

All Articles