-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathflawfinder_report.html
73 lines (72 loc) · 5.1 KB
/
flawfinder_report.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf8">
<title>Flawfinder Results</title>
<meta name="author" content="David A. Wheeler">
<meta name="keywords" lang="en" content="flawfinder results, security scan">
</head>
<body>
<h1>Flawfinder Results</h1>
Here are the security scan results from
<a href="https://dwheeler.com/flawfinder">Flawfinder version 2.0.15</a>,
(C) 2001-2019 <a href="https://dwheeler.com">David A. Wheeler</a>.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 222
<p>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_5.c <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_2.c <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_3.c <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_1.c <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/port.c <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM0/portmacro.h <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/stream_buffer.c <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/timers.c <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/tasks.c <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/queue.c <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/include/mpu_wrappers.h <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/include/stack_macros.h <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/include/croutine.h <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/include/queue.h <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/include/deprecated_definitions.h <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/include/task.h <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/include/portable.h <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/include/timers.h <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/include/semphr.h <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/include/StackMacros.h <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOSConfig_template.h <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/include/mpu_prototypes.h <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/include/message_buffer.h <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/include/list.h <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/include/projdefs.h <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/include/stream_buffer.h <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/include/event_groups.h <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/event_groups.c <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/croutine.c <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/list.c <br>
Examining ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c <br>
Error: encoding error in ./software/stm32f030cc/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS/cmsis_os.c
'utf-8' codec can't decode byte 0xa9 in position 1078: invalid start byte
Python3 requires input character data to be perfectly encoded;
it also requires perfectly correct system encoding settings.
Unfortunately, your data and/or system settings are not.
Here are some options:
1. Run: PYTHONUTF8=0 python3 flawfinder
if your system and and data are all properly set up for
a non-UTF-8 encoding.
2. Run: PYTHONUTF8=0 LC_ALL=C.ISO-2022 python3 flawfinder
if your data has a specific encoding such as ISO-2022
(replace "ISO-2022" with the name of your encoding,
and optionally replace "C" with your native language).
3. Run: PYTHONUTF8=0 LC_ALL=C.ISO-8859-1 python3 flawfinder
if your data has an unknown or inconsistent encoding
(ISO-8859-1 encoders normally allow anything).
4. Convert all your source code to the UTF-8 encoding.
The system program "iconv" or Python program "cvt2utf" can
do this (for cvt2tuf, you can use "pip install cvt2utf").
5. Run: python2 flawfinder
(That is, use Python 2 instead of Python 3).
Some of these options may not work depending on circumstance.
In the long term, we recommend using UTF-8 for source code.
For more information, see the documentation.