28.04.2013 Views

Ingineria inversă

Ingineria inversă

Ingineria inversă

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Protecţia programelor împotriva ingineriei inverse<br />

bytes: 01 0026 284C 6A61 7661 2F6C 616E 672F 5374 7269 6E67<br />

3B29 4C6A 6176 612F 6C61 6E67 2F53 7472 696E 673B 0100 0A53<br />

6F75 7263 6546 696C 65<br />

(decrypting method’s descriptor)<br />

CONSTANT_Methodref Entry (n+4) Class (x) Name/Type (n+5)<br />

bytes: 0A (short)x (short)(n+5)<br />

(reference at toCharArray from String Class)<br />

CONSTANT_NameAndType Entry (n+5) Name (n+6) Type (n+7)<br />

bytes: 0C (short)(n+6) (short)(n+7)<br />

(name and type of toCharArray method)<br />

CONSTANT_Utf8 Entry (n+6) toCharArray<br />

bytes: 01 000B 746F 4368 6172 4172 7261 79<br />

(toCharArray name)<br />

CONSTANT_Utf8 Entry (n+7) ()[C<br />

bytes: 01 0004 2829 5B43<br />

(toCharArray descriptor)<br />

CONSTANT_String Entry (n+8) (n+9)<br />

bytes: 08 (short)(n+9)<br />

(reference at the encrypting key)<br />

CONSTANT_Utf8 Entry (n+9) .\rT\3752>l:h\u1212<br />

bytes: 01 000D 2E0D 54C3 BD32 3E6C 3A68 E188 92<br />

(encrypting key)<br />

CONSTANT_Methodref Entry (n+10) Class (x) Name/Type (n+11)<br />

bytes: 0A (short)x (short)(n+11)<br />

(reference at the String(char[]) constructor)<br />

CONSTANT_NameAndType Entry (n+11) Name (b) Type (n+12)<br />

bytes: 0C (short)v (short)(n+12)<br />

(name and type of String(char[]) constructor)<br />

CONSTANT_Utf8 Entry (n+12) ([C)V<br />

bytes: 0100 0528 5B43 2956<br />

(descriptor of String(char[]) constructor)<br />

for(int k = 1; k

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!