@@ -9,4 +9,46 @@ I renamed the project to avoid confusion with rygs original version.
9
9
10
10
So far everything works the same, except that pdb loading and size reports work again.
11
11
12
- Feel free to get in touch at
[email protected]
12
+ Feel free to get in touch at
[email protected]
13
+
14
+
15
+ -------------------------------------------------------------------------------------------------------------
16
+
17
+ Changes by BoyC / Conspiracy:
18
+
19
+ * added .kkp export for byte exact pack ratio, analyzer tool to be released soon, file format described below
20
+ * fixed PE header so that the Microsoft exe signing tool actually recognizes produced binaries as executables
21
+ * As the result of the PE header fix, expanded the MZ header with some custom art
22
+
23
+ KKP file format:
24
+ Used to describe a binary file with all its contents and compression statistics, including symbol info
25
+
26
+ 4 bytes: FOURCC: 'KK64'
27
+ 4 bytes: size of described binary in bytes (Ds)
28
+ 4 bytes: number of source code files (Cc)
29
+
30
+ // source code descriptors:
31
+ Cc times:
32
+ ASCIIZ string: filename
33
+ float: packed size for the complete file
34
+ 4 bytes: unpacked size for the complete file, in int
35
+
36
+ 4 bytes: number of symbols (Sc)
37
+
38
+ // symbol data:
39
+ Sc times:
40
+ ASCIIZ string: symbol name
41
+ double: packed size of symbol
42
+ 4 bytes: unpacked size of symbol in bytes
43
+ 1 byte: boolean to tell if symbol is code (true if yes)
44
+ 4 bytes: source code file ID
45
+ 4 bytes: source code line ID
46
+
47
+ // binary compression data:
48
+
49
+ Ds times: (for each byte of the described binary)
50
+ 1 byte: original data from the binary
51
+ 2 bytes: symbol index
52
+ double: packed size
53
+ 2 bytes: source code line
54
+ 2 bytes: source code file index
0 commit comments