2003 · 15 citations · 10 references
ComputingComputer EngineeringComputer ScienceAlgorithmsCompilersComputer ArchitectureAbstract Syntax TreesData CompressionStream ProcessingBinary DecompilationBinary EncodingCompressionPrediction
With the emergence of software delivery platforms such as Microsoft's .NET, code compression has become one of the core enabling technologies strongly affecting system performance. We present PPMexe - a set of compression mechanisms for executables that explores their syntax and semantics to achieve superior compression rates. The fundament of PPMexe is the generic paradigm of prediction by partial matching (PPM). We combine PPM with two pre-processing steps: instruction rescheduling to improve prediction rates and partitioning of a program binary into streams with high auto-correlation. We improve the traditional PPM algorithm by using: an additional alphabet of frequent variable-length super-symbols extracted from the input stream of fixed-length symbols and a low-overhead mechanism that enables decompression starting from an arbitrary instruction of the executable, a feature pivotal for run-time software delivery. PPMexe was implemented for x86 binaries and tested on several large Microsoft applications. Binaries compressed using PPMexe were 16-23% smaller than files created using PPMD, the best available compressor.
10
Implementing the PPM data compression scheme
Alistair Moffat · IEEE Transactions on Communications · 1990 · 421 citations
Compiler techniques for code compaction
Saumya Debray, William Evans, Robert Muth et al. · ACM Transactions on Programming Languages and Systems · 2000 · 275 citations · Full text
Jens Ernst, William Evans, Christopher W. Fraser et al. · 1997 · 142 citations · Full text
Unbounded length contexts for PPM
John G. Cleary, William J. Teahan, Ian H. Witten · 2002 · 130 citations