Tool/software:
In the TI code, loadSize_ctrlfuncs is declared as existing externally as a uint32_t defined 'somewhere'. It is used in a memcpy() as shown below. When I run static-analysis I get an error on parameter 3 because it's attempting to convert a unint32_t* to an unsigned long. On the surface this seems like bad/incorrect C-syntax, but I am assuming that the compiler/linker is doing something special in order to convert (size_t)&loadSize_ctrlfuncs into the actual size of the region to copy, or I am failing to understand how the C-syntax works in this case. I am just trying to understand how that works, because I need to suppress the MISRA violation for this line if it is truly working as designed. This same pattern is repeated for other sections which are mem-copied, so I assume it is done purposefully.
thanks,