def visualize(self):
if os.path.isfile(self.workspace):<EOL><INDENT>t = threading.Thread(target=self.highlight_from_file,<EOL>args=(self.workspace,))<EOL><DEDENT>elif os.path.isdir(self.workspace):<EOL><INDENT>t = threading.Thread(target=self.highlight_from_dir,<EOL>args=(self.workspace,))<EOL><DEDENT>t.start()<EOL>
Given a Manticore workspace, or trace file, highlight the basic blocks.