Export (0) Print
Expand All
Expand Minimize

2.9.337 UPXPadding

Office

The UPXPadding structure specifies the padding that is used to pad the UpxPapx, UpxChpx, or UpxTapx structure if any of them are an odd number of bytes in length. The number of bytes that are required MUST be written as a zero value.

The UpxPapx, UpxChpx, and UpxTapx structures MUST be written as an even length, even if their contents are an odd length.


0

1

2

3

4

5

6

7

8

9
1
0

1

2

3

4

5

6

7

8

9
2
0

1

2

3

4

5

6

7

8

9
3
0

1

blob (variable)

...

blob (variable): A structure that specifies any padding that is required to pad structures of an odd number of bytes in length so that they end on an even-byte boundary. It has a size of 1 byte if padding is needed, and 0 bytes if no padding is needed.

Show:
© 2014 Microsoft