Skip to content

Commit

Permalink
submodule update. added extra MISRAC2012 checks.
Browse files Browse the repository at this point in the history
  • Loading branch information
kmilo17pet committed Apr 29, 2021
1 parent 78d3728 commit 74f4cc5
Show file tree
Hide file tree
Showing 7 changed files with 1,624 additions and 1,372 deletions.
6 changes: 3 additions & 3 deletions build_options.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ CC = gcc
# The linker
LD = gcc
# Flags to pass to the compiler for release builds
EXTRAFLAGS ?= -flto -Wextra -Wimplicit-fallthrough=0 -Wformat-security -Wduplicated-cond -Wfloat-equal -Wshadow -Wconversion -Wsign-conversion -Wjump-misses-init -Wlogical-not-parentheses -Wnull-dereference -Wnull-dereference -Wstringop-overflow -fprofile-arcs -ftest-coverage
CFLAGS ?= -Wall $(EXTRAFLAGS) -fstrict-aliasing -O2 -std=c99 -D_POSIX_C_SOURCE=199309L -MD -Wstrict-aliasing -DQLIST_D_HANDLING
EXTRAFLAGS ?= -flto -Wextra -Wimplicit-fallthrough=0 -Wformat-security -Wduplicated-cond -Wfloat-equal -Wshadow -Wconversion -Wsign-conversion -Wjump-misses-init -Wlogical-not-parentheses -Wnull-dereference -Wnull-dereference -Wstringop-overflow
CFLAGS ?= -fdump-rtl-expand -Wall $(EXTRAFLAGS) -fstrict-aliasing -O2 -std=c99 -D_POSIX_C_SOURCE=199309L -MD -Wstrict-aliasing -DQLIST_D_HANDLING
# Flags to pass to the linker
LFLAGS ?= -lm -fprofile-generate
LFLAGS ?= -lm
# Output directories
OBJ_DIR := obj
BIN_DIR := bin
Expand Down
Binary file modified check/Debug/Obj/cstat.db
Binary file not shown.
301 changes: 276 additions & 25 deletions check/c-stat-check.dep
Original file line number Diff line number Diff line change
Expand Up @@ -5,45 +5,296 @@
<configuration>
<name>Debug</name>
<outputs>
<file>$PROJ_DIR$\..\src\os\qstimers.c</file>
<file>$PROJ_DIR$\..\src\os\qtasks.c</file>
<file>$PROJ_DIR$\..\src\os\include\qkshared.h</file>
<file>$PROJ_DIR$\..\src\os\include\qlists.h</file>
<file>$PROJ_DIR$\..\src\os\qtrace.c</file>
<file>$PROJ_DIR$\..\src\os\include\qmemmang.h</file>
<file>$PROJ_DIR$\..\src\os\include\qkernel.h</file>
<file>$PROJ_DIR$\..\src\os\include\qioutils.h</file>
<file>$PROJ_DIR$\..\src\os\include\qresponse.h</file>
<file>$PROJ_DIR$\..\src\os\include\qstimers.h</file>
<file>$PROJ_DIR$\..\src\os\qedgecheck.c</file>
<file>$PROJ_DIR$\..\src\os\qfsm.c</file>
<file>$PROJ_DIR$\..\src\os\qlists.c</file>
<file>$PROJ_DIR$\..\src\os\include\qtasks.h</file>
<file>$PROJ_DIR$\..\src\os\qmemmang.c</file>
<file>$PROJ_DIR$\..\src\os\include\qmemmang.h</file>
<file>$PROJ_DIR$\..\src\os\qkernel.c</file>
<file>$PROJ_DIR$\..\src\os\qresponse.c</file>
<file>$PROJ_DIR$\..\src\os\include\qresponse.h</file>
<file>$PROJ_DIR$\..\src\os\qatcli.c</file>
<file>$PROJ_DIR$\..\src\os\include\qtasks.h</file>
<file>$PROJ_DIR$\..\src\os\include\qqueues.h</file>
<file>$PROJ_DIR$\..\src\os\qqueues.c</file>
<file>$PROJ_DIR$\..\src\os\include\qtypes.h</file>
<file>$PROJ_DIR$\..\src\os\qclock.c</file>
<file>$PROJ_DIR$\..\src\os\include\qtrace.h</file>
<file>$PROJ_DIR$\..\src\os\qbsbuffers.c</file>
<file>$PROJ_DIR$\..\src\os\qedgecheck.c</file>
<file>$PROJ_DIR$\..\src\os\qcritical.c</file>
<file>$PROJ_DIR$\..\src\os\qclock.c</file>
<file>$PROJ_DIR$\..\src\os\qioutils.c</file>
<file>$PROJ_DIR$\..\src\os\qfsm.c</file>
<file>$PROJ_DIR$\..\src\os\include\QuarkTS.h</file>
<file>$PROJ_DIR$\..\src\os\qcoroutine.c</file>
<file>$PROJ_DIR$\..\src\os\qcritical.c</file>
<file>$PROJ_DIR$\..\src\os\include\qcritical.h</file>
<file>$PROJ_DIR$\..\src\os\include\qbackward.h</file>
<file>$PROJ_DIR$\..\src\config\qconfig.h</file>
<file>$PROJ_DIR$\..\src\os\include\qedgecheck.h</file>
<file>$PROJ_DIR$\..\src\os\include\qioutils.h</file>
<file>$PROJ_DIR$\..\src\os\qmemmang.c</file>
<file>$PROJ_DIR$\..\src\os\include\qflm.h</file>
<file>$PROJ_DIR$\..\src\os\include\qfsm.h</file>
<file>$PROJ_DIR$\..\src\os\include\qtrace.h</file>
<file>$PROJ_DIR$\..\src\os\qqueues.c</file>
<file>$PROJ_DIR$\..\src\os\include\qtypes.h</file>
<file>$PROJ_DIR$\..\src\os\qresponse.c</file>
<file>$PROJ_DIR$\..\src\os\qstimers.c</file>
<file>$PROJ_DIR$\..\src\os\qatcli.c</file>
<file>$PROJ_DIR$\..\src\os\include\qedgecheck.h</file>
<file>$PROJ_DIR$\..\src\os\qcoroutine.c</file>
<file>$PROJ_DIR$\..\src\os\qtasks.c</file>
<file>$PROJ_DIR$\..\src\os\include\qbackward.h</file>
<file>$PROJ_DIR$\..\src\os\include\qbsbuffers.h</file>
<file>$PROJ_DIR$\..\src\os\include\qatcli.h</file>
<file>$PROJ_DIR$\..\src\os\include\qclock.h</file>
<file>$PROJ_DIR$\..\src\os\include\qkernel.h</file>
<file>$PROJ_DIR$\..\src\os\include\qkshared.h</file>
<file>$PROJ_DIR$\..\src\os\include\qlists.h</file>
<file>$PROJ_DIR$\..\src\os\include\qfsm.h</file>
<file>$PROJ_DIR$\..\src\config\qconfig.h</file>
<file>$PROJ_DIR$\..\src\os\include\qcoroutine.h</file>
<file>$PROJ_DIR$\..\src\os\include\qatcli.h</file>
<file>$PROJ_DIR$\Debug\Obj\qcritical.o</file>
<file>$PROJ_DIR$\Debug\Obj\qbsbuffers.o</file>
<file>$PROJ_DIR$\Debug\Obj\qioutils.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\qmemmang.o</file>
<file>$PROJ_DIR$\Debug\Obj\qfsm.o</file>
<file>$PROJ_DIR$\Debug\Obj\qatcli.o</file>
<file>$PROJ_DIR$\Debug\Obj\qclock.o</file>
<file>$PROJ_DIR$\Debug\Obj\qlists.o</file>
<file>$PROJ_DIR$\Debug\Obj\qstimers.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\qcritical.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\qresponse.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\qcoroutine.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\qqueues.o</file>
<file>$PROJ_DIR$\Debug\Obj\qtasks.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\qtrace.o</file>
<file>$PROJ_DIR$\Debug\Obj\qtasks.o</file>
<file>$PROJ_DIR$\Debug\Exe\c-stat-check.out</file>
<file>$PROJ_DIR$\Debug\Obj\c-stat-check.pbd</file>
<file>$PROJ_DIR$\Debug\Obj\qclock.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\qstimers.o</file>
<file>$PROJ_DIR$\Debug\Obj\qedgecheck.o</file>
<file>$PROJ_DIR$\Debug\Obj\qfsm.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\qtrace.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\qkernel.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\qmemmang.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\qcoroutine.o</file>
<file>$PROJ_DIR$\Debug\Obj\qlists.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\qkernel.o</file>
<file>$PROJ_DIR$\Debug\Obj\qresponse.o</file>
<file>$PROJ_DIR$\Debug\Obj\qioutils.o</file>
<file>$PROJ_DIR$\Debug\Obj\qatcli.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\qqueues.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\qbsbuffers.xcl</file>
<file>$PROJ_DIR$\Debug\Obj\qedgecheck.xcl</file>
</outputs>
<file>
<name>[ROOT_NODE]</name>
<outputs>
<tool>
<name>ILINK</name>
<file> 54</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\src\os\qtrace.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 52</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 60</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\src\os\qedgecheck.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 58</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 71</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\src\os\qfsm.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 42</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 59</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\src\os\qlists.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 45</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 64</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\src\os\qkernel.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 65</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 61</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\src\os\qbsbuffers.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 39</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 70</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\src\os\qcritical.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 38</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 47</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\src\os\qclock.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 44</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 56</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\src\os\qioutils.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 67</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 40</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\src\os\qmemmang.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 41</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 62</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\src\os\qqueues.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 50</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 69</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\src\os\qresponse.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 66</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 48</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\src\os\qstimers.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 57</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 46</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\src\os\qatcli.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 43</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 68</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\src\os\qcoroutine.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 63</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 49</file>
</tool>
</outputs>
</file>
<file>
<name>$PROJ_DIR$\..\src\os\qtasks.c</name>
<outputs>
<tool>
<name>ICCARM</name>
<file> 53</file>
</tool>
<tool>
<name>BICOMP</name>
<file> 51</file>
</tool>
</outputs>
</file>
</configuration>
<configuration>
<name>Release</name>
Expand Down
Loading

0 comments on commit 74f4cc5

Please sign in to comment.