Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
Signed-off-by: Elazar Gershuni <[email protected]>
  • Loading branch information
elazarg committed Nov 8, 2024
1 parent 4f61041 commit bf98ef7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/assertions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ vector<Assertion> get_assertions(Instruction ins, const program_info& info, cons
}

/// Annotate the CFG by adding explicit assertions for all the preconditions
/// of any Instruction. For example, jump instructions are asserted not to
/// of any instruction. For example, jump instructions are asserted not to
/// compare numbers and pointers, or pointers to potentially distinct memory
/// regions. The verifier will use these assertions to treat the program as
/// unsafe unless it can prove that the assertions can never fail.
Expand Down
2 changes: 1 addition & 1 deletion src/crab/cfg.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class basic_block_t final {
m_ts.push_back(arg);
}

/// Insert an GuardedInstruction at the front of the basic block.
/// Insert a GuardedInstruction at the front of the basic block.
/// @note Cannot modify entry or exit blocks.
void insert_front(const GuardedInstruction& arg) {
assert(label() != label_t::entry);
Expand Down
2 changes: 1 addition & 1 deletion src/test/ebpf_yaml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ static ebpf_verifier_options_t raw_options_to_options(const std::set<string>& ra
// Default to not assuming assertions.
options.assume_assertions = false;

// Permit test cases to not have an exit Instruction.
// Permit test cases to not have an exit instruction.
options.cfg_opts.must_have_exit = false;

for (const string& name : raw_options) {
Expand Down

0 comments on commit bf98ef7

Please sign in to comment.