File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ proc-macro2 = "1.0"
1414rand = " 0.8.0"
1515regex = " 1.5.4"
1616clap = " 3.0"
17- cryptify = " 3.1.0 "
17+ cryptify = " 3.2.1 "
Original file line number Diff line number Diff line change @@ -83,14 +83,12 @@ impl FlowObfuscator {
8383 //randomize the order of variable assignments
8484 statements. shuffle ( & mut rng) ;
8585
86- // Empty inline asm acts as full optimization barrier - LLVM cannot reason past it
8786 let loop_block = quote ! {
8887 loop {
89- unsafe { std:: arch:: asm!( "" , options( nostack) ) ; }
90- if _dummy_counter > _dummy_upper_bound {
88+ if std:: hint:: black_box( _dummy_counter) > std:: hint:: black_box( _dummy_upper_bound) {
9189 break ;
9290 }
93- _dummy_counter = _dummy_counter + _dummy_increment;
91+ _dummy_counter = std :: hint :: black_box ( std :: hint :: black_box ( _dummy_counter) + std :: hint :: black_box ( _dummy_increment) ) ;
9492 }
9593 } ;
9694
You can’t perform that action at this time.
0 commit comments