10.07.2015 Views

dissertation

dissertation

dissertation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

86+ // 0 th word i s 03 00 08 00+ // 3 rd word SEEMS TO BE: O f f s e t at then o f S t r i n g T a b l e+ // 4 th word i s : Number o f s t r i n g s i n s t r i n g t a b l e+ // WARNING: Sometime I i n d i s c r i m i n e n t l y d i s p l a y or r e f e r to word i n+ // l i t t l e endian s t o r a g e format , or i n i n t e g e r format ( i e MSB f i r s t ) .+ i n t numbStrings = LEW( xml , 4 ∗ 4 ) ;++ // S tringIndexTable s t a r t s at o f f s e t 24x , an array o f 32 b i t LE o f f s e t s+ // o f the l e n g t h / s t r i n g data i n the S t r i n g T a b l e .+ i n t s i t O f f = 0 x24 ; // O f f s e t o f s t a r t o f S tringIndexTable++ // StringTable , each s t r i n g i s r e p r e s e n t e d with a 16 b i t l i t t l e endian+ // c h a r a c t e r count , f o l l o w e d by that number o f 16 b i t (LE) ( Unicode ) c h a r s .+ i n t s t O f f = s i t O f f + numbStrings ∗ 4 ; // S t r i n g T a b l e f o l l o w s StrIndexTable++ // XMLTags, The XML tag t r e e s t a r t s a f t e r some unknown content a f t e r the+ // S t r i n g T a b l e . There i s some unknown data a f t e r the StringTable , scan+ // forward from t h i s p o i n t to the f l a g f o r the s t a r t o f an XML s t a r t tag .+ i n t xmlTagOff = LEW( xml , 3 ∗ 4 ) ; // S t a r t from the o f f s e t i n the 3 rd word .+ // Scan forward u n t i l we f i n d the bytes : 0 x02011000 ( x00100102 i n normal i n t )+ f o r ( i n t i i =xmlTagOff ; i i

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

Saved successfully!

Ooh no, something went wrong!