Dcc

From techdocs
Revision as of 12:14, 23 Haziran 2022 by Andrewt (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

dcc is custom software written by Andrew Taylor used in several CSE courses including COMP1511, COMP1521 & COMP1911.

dcc has a [github repo]

It is manually added to CSE systems as [/usr/local/extrafiles/bin/dcc]

dcc compiles C programs with clang & gcc adding extra explanation to error messages suitable for novice programmers.

dcc injects python3 into the binary which catches run-time errors and invokes gdb to print useful information including a stack backtrace and nearby variable values, all in a form comprehensible to novice programmers.

dcc runs valgrind simultaneously as a separate synchronized process checking for uninitialized variables.

dcc's only dependencies are python3, clang, GCC & valgrind