Skip to content

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
Signed-off-by: Elazar Gershuni <[email protected]>
  • Loading branch information
elazarg committed Nov 15, 2024
1 parent 71c3f8d commit 5044c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/check.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ int main(int argc, char** argv) {
std::cout << "Program terminates within " << verifier_stats.max_loop_count << " loop iterations\n";
}
std::cout << pass << "," << seconds << "," << resident_set_size_kb() << "\n";
return pass;
return !pass;
} else if (domain == "linux") {
// Pass the instruction sequence to the Linux kernel verifier.
const auto [res, seconds] = bpf_verify_program(raw_prog.info.type, raw_prog.prog, &ebpf_verifier_options);
Expand Down

0 comments on commit 5044c77

Please sign in to comment.