Added support for warnings and errors in mem_accesses.py
Added support for a configurable permission access pattern in src/main.cc