Skip to content

Commit

Permalink
Try again.
Browse files Browse the repository at this point in the history
  • Loading branch information
oxagast committed Oct 10, 2017
1 parent 2ae8b1f commit fdf7afc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ syscalls
ansvif_gtk
buffer_overflow
string_format
generic_buffer_overflow
*.log
!/man/*
!/tmp/*
Expand Down
4 changes: 2 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ ansvif_gtk_CPPFLAGS = @GTK_CFLAGS@ -fpermissive
endif
ansvifdir = bin
check: all
./ansvif -t examples/space.txt -c ./generic_buffer_overflow -b 32 -o checkfaulty && rm checkfaulty.*
./ansvif -t examples/space.txt -c ./generic_buffer_overflow -b 64 -o checkfaulty && rm checkfaulty.*
@echo "*** CHECK 1 PASSED ***"
./ansvif -t examples/space.txt -c ./generic_buffer_overflow -b 32
./ansvif -t examples/space.txt -c ./generic_buffer_overflow -b 64
@echo "*** CHECK 2 PASSED ***"
./ansvif -t examples/space.txt -c ./string_format -b 32
@echo "*** CHECK 3 PASSED ***"
Expand Down
1 change: 1 addition & 0 deletions src/match_fault.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ bool match_seg(int buf_size, std::vector<std::string> opts,
/* logging */
log_head(write_file_n, path_str, cmd_output, out_str_p, out_str, pid);
}
/* std::cout << cmd_output << std::endl; */
std::size_t found132 = cmd_output.find("CRASHCODE 132");
std::size_t found134 = cmd_output.find("CRASHCODE 134");
std::size_t found139 = cmd_output.find("CRASHCODE 139");
Expand Down

0 comments on commit fdf7afc

Please sign in to comment.