HyperDbg Debugger
Loading...
Searching...
No Matches
hyperdbg/script-engine/modules/script-engine-test/script-test-cases/03-conditional-statements-with-statements-wrong.txt File Reference

Functions

 if (@rsi+ @rdx<< @rdi<< $ip > >($buffer)<< -0y1011 > > 0y110 > > @r10 & $thread<<(@rbp) > > @rsp ^ $buffer > >+@rbp ^ @r13 ^ @r11 ^ 0n15|+~ @rdi<<+@rbp > >+13 > > @r8|+@r10 > > $thread==$teb+ $ip ^ @r12 > > $proc > >(@rsp) & @rbx > > @r8 &5 ^ ~ @r13 > > @rdi ^ @r13 &+@rbx ^ @rbp ^ @r13)
 
$error$ $end$ if (@rdi+ @r13 &+@rbp > > $ip & @r8 > > @r13 ^ 0n13 > > @r9 & @r10 > > @rbp ^ @rsp > > @r13 ^ $teb)) @rdi+ @r13 &+@rbp > > $ip & @r8 > > @r13 ^ 0n13 > > @r9 & @r10 > > @rbp ^ @rsp > > @r13 ^ $teb)
 
$error$ $end$ if (@rdx+0x10<< $thread<< @rbx > > @rax<< @r11 > > 0n18 &22<< 0y110 ^(@rdx) > > @r11 ^ 0n7 >< @rsp & @rdi<< ~0xD & $thread > > - @rsp| @rbp|- @r12 & $thread| @r13 ^ @rsi)
 
 elsif ($ip<<+2 ^ @rdi > > 2 & @rbp ^ 0x1 ^ @r8 ^ $ip $ip<<+2 ^ @rdi > > 2 & @rbp ^ 0x1 ^ @r8 ^ $ip)
 

Function Documentation

◆ elsif()

elsif ( $ip<<+2 ^ @rdi > > 2 & @rbp ^ 0x1 ^ @r8 ^ $ip $ip<<+2 ^ @rdi > > 2 & @rbp ^ 0x1 ^ @r8 ^)

◆ if() [1/3]

$error$ $end$ if ( @rdi+ @r13 &+@rbp > > $ip & @r8 > > @r13 ^ 0n13 > > @r9 & @r10 > > @rbp ^ @rsp > > @r13 ^ $teb) &
6{ test_statement(0x74); /* This is a comment */ }
test_statement(x)

◆ if() [2/3]

$error$ $end$ if ( @rdx+0x10<< $thread<< @rbx > > @rax<< @r11 > > 0n18 &22<< 0y110 ^(@rdx) > > @r11 ^ 0n7)
10{ test_statement(0xED0); } elsif ($ip << +2 ^ @rdi >> 2 & @rbp ^ 0x1 ^ @r8 ^ $ip $ip << +2 ^ @rdi >> 2 & @rbp ^ 0x1 ^ @r8 ^ $ip) { test_statement(0x2CE); x = @r8 & 0y10001 ^ @rbp ; ; // /* This is a comment } elsif (@r9 & @rdi & @rsp ^ -@rsi ^ @r11 | $teb & -@r12 ^ +@r11)@r9 & @rdi & @rsp ^ -@rsi ^ @r11 | $teb & -@r12 ^ +@r11) { test_statement(0x143A); if (@rbp | @r10 != @rbp | @r10) { test_statement(0x246A); } elsif ($ip ! @r8) { test_statement(0x1D2D); } else { test_statement(0x1A2); } for (@rax= @r11; 11 ; $ip;x--) { tmp_counter = tmp_counter + 1; if (tmp_counter >= 0x1000) { break; } } for (@rax= @r10; 0x7(($ip;@rax--) { tmp_counter = tmp_counter + 1; if (tmp_counter >= 0x1000) { break; } } /* This is a not closed comment } elsif (@rsp & ~@rax <= @rsp & ~@rax) { test_statement(0x51); } else { test_statement(0x1EE8); while (@rax ; 0n13 | @r13) { tmp_counter = tmp_counter + 1; if (tmp_counter >= 0x1000) { break; } } }
x
Definition 01-expressions-correct.txt:2
elsif($ip<<+2 ^ @rdi > > 2 & @rbp ^ 0x1 ^ @r8 ^ $ip $ip<<+2 ^ @rdi > > 2 & @rbp ^ 0x1 ^ @r8 ^ $ip)
Definition 03-conditional-statements-with-statements-wrong.txt:10

◆ if() [3/3]

if ( @rsi+ @rdx<< @rdi<< $ip > >($buffer)<< -0y1011 > > 0y110 > > @r10 & $thread<<(@rbp) > > @rsp ^ $buffer > >+@rbp ^ @r13 ^ @r11 ^ 0n15|+~ @rdi<<+@rbp > >+13 > > @r8|+@r10 > > $thread = = $teb + $ip ^ @r12 >> $proc >> (@rsp) & @rbx >> @r8 & 5 ^ ~@r13 >> @rdi ^ @r13 & +@rbx ^ @rbp ^ @r13)
2{ test_statement(0x2649); do { tmp_counter = tmp_counter + 1; if (tmp_counter >= 0x1000) { break; } } while ( @rbp ^ @r9 != $proc ^ @r12 ^ @rsp | @r11 ^ @r10 | ($thread)) ; x = $proc ^ $teb ^ 3 ; break; }