Conditionals & Loops
Description of conditional statements and loops
Conditional Statements
if
if (condition) {
code to be executed if condition is true;
}if (@rax == 55) {
printf("rax is equal to %llx\n", @rax);
}if (poi(@rcx + 0x10) == ffff7080deadbeef && @rdx != 55 || $pid == 4) {
printf("condition is met\n");
}else
elsif
Loops
for
while
do, while
Last updated