frida / frida-java-bridge

Java runtime interop from Frida
318 stars 118 forks source link

fix: sort field items according to dex_file_verifier.cc #322

Closed eybisi closed 1 month ago

eybisi commented 1 month ago

registerClass creates wrong dex file when there are more than 2 fields #296

This commit fixes two errors:

Since we create 1 dex file for each registerClass, we don't need to keep track of field_idx_diff. (okay to begin from 0)

oleavr commented 1 month ago

Thanks! :raised_hands: