Skip to content

Commit

Permalink
Fixing a few minor issues in monster
Browse files Browse the repository at this point in the history
  • Loading branch information
ckirsch committed Sep 6, 2020
1 parent e029529 commit 0dd6f7f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/monster.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,6 @@ uint64_t* create_symbolic_context(uint64_t* parent, uint64_t* vctxt);
uint64_t handle_symbolic_system_call(uint64_t* context);
uint64_t handle_symbolic_division_by_zero(uint64_t* context);
uint64_t handle_symbolic_timer(uint64_t* context);
uint64_t handle_symbolic_merge(uint64_t* context);
uint64_t handle_symbolic_recursion(uint64_t* context);

uint64_t handle_symbolic_exception(uint64_t* context);

Expand Down Expand Up @@ -1686,7 +1684,7 @@ uint64_t* schedule_next_symbolic_context() {

// find the currently highest call stack
while (context) {
if (get_call_stack(context) != 0)
if (get_call_stack(context) != (uint64_t*) 0)
if (get_depth(get_call_stack(context)) > max_call_stack_size) {
max_call_stack_size = get_depth(get_call_stack(context));
max_call_stack = get_call_stack(context);
Expand Down

0 comments on commit 0dd6f7f

Please sign in to comment.