The stack program contains push/pop oprations on curly braces.
Header file contains structure of global/local variables, functions, threads, semaphores, variable logs, critical section, etc.
Sample test program in c which creates multiple threads for single function.
Lex program contains token definition for parsing C program.
Yacc file contains grammar for parsing C source code and generating critical section result based on anlysis of tables.
Test cases which need to be handled while parsing the C file and detecting critical section.
Sample test program in C which contains two threads accessig single global variable.