mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-10-19 18:33:16 +00:00
Added .clang-format style rules, clam-format script to automate formatting of ClamAV code, and preparing select files so that clang-format does not alter carefully formatted sections.
This commit is contained in:
parent
5ba88cab51
commit
38fe8b69a0
46 changed files with 957 additions and 678 deletions
|
@ -27,6 +27,7 @@
|
|||
|
||||
#include "sf_base64decode.h"
|
||||
|
||||
// clang-format off
|
||||
uint8_t sf_decode64tab[256] = {
|
||||
100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,
|
||||
100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,
|
||||
|
@ -44,6 +45,7 @@ uint8_t sf_decode64tab[256] = {
|
|||
100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,
|
||||
100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,
|
||||
100,100,100,100,100,100,100,100,100,100,100,100,100,100,100,100};
|
||||
// clang-format on
|
||||
|
||||
/* base64decode assumes the input data terminates with '=' and/or at the end of the input buffer
|
||||
* at inbuf_size. If extra characters exist within inbuf before inbuf_size is reached, it will
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue