Repo bisect

When testing reveals a bug, the cause of the bug can sometimes be found by searching the source repository. Git provides a tool (git-bisect) to help search for which revisions caused some change. While you can use the tool by hand, it can also be automated.

Using bisect

For this project, you need to use x64 Linux. Download this project to get the bisector repo. The repo has a single executable that seems to check TPU data values. If you run the most recent executable, you will see that it runs, but crashes.

We will use git to find the source code revision where the bug started. By marking revisions as good or bad, git will binary search the source tree to find the commit that caused the failure.

Finding the source

Questions

Complete the question sheet for this exercise.