Skip to content

DoubleS1405/x86_Optimizing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

x86_Optimizing

  • Project Objective : Perform "optimization" on the x86 binary with the dummy code applied.

About the project

  • Motivation for the project
    Searching for papers and studies on de-obfuscation led to the conclusion that it is impossible to "restore" binary code to the "original" code after it has been de-obfuscated, and shifted the perspective to optimizing the code so that the execution result is the same even if it is different from the original code.

  • What do we apply x86 code optimizations to?
    The goal is to optimize the dummy code generated when applying VMProtector's mutation.

  • What optimization techniques to use?
    (1) Dead Store Elimination
    (2) Constant Propagation / Register Propagation
    (3) Constant Folding

  • Project planning
    (1) Researching optimization techniques to use in this project
    (2) Generate an intermediate representation for x86 assembly code
    (3) Optimize for intermediate representations

  • Example

(1) VMProtect Mutation Code
image

(2) Optimized Code
image


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages