Cisco-Talos / clamav-bytecode-compiler

ClamAV Bytecode Compiler
GNU General Public License v2.0
75 stars 27 forks source link

Clam 1582 bytecode failed to load 2 #11

Closed ragusaa closed 2 years ago

micahsnyder commented 2 years ago

@rsundriyal I added you to review this via the jenkins pipeline you're building

micahsnyder commented 2 years ago

@ragusaa I'm seeing some clang-format complaints from github actions:

libclambcc/ClamBCWriter/ClamBCWriter.cpp:1053:23: error: code should be clang-formatted [-Wclang-format-violations]
            Argument * pArg = llvm::cast<Argument>(i);
                      ^

Failed on file: libclambcc/ClamBCWriter/ClamBCWriter.cpp
libclambcc/ClamBCPrepareGEPsForWriter/ClamBCPrepareGEPsForWriter.cpp:207:18: error: code should be clang-formatted [-Wclang-format-violations]
                } 
                 ^
libclambcc/ClamBCPrepareGEPsForWriter/ClamBCPrepareGEPsForWriter.cpp:221:18: error: code should be clang-formatted [-Wclang-format-violations]
                } 
                 ^
libclambcc/ClamBCPrepareGEPsForWriter/ClamBCPrepareGEPsForWriter.cpp:326:6: error: code should be clang-formatted [-Wclang-format-violations]
    }
     ^

Failed on file: libclambcc/ClamBCPrepareGEPsForWriter/ClamBCPrepareGEPsForWriter.cpp
libclambcc/ClamBCAnalyzer/ClamBCAnalyzer.cpp:132:48: error: code should be clang-formatted [-Wclang-format-violations]
        for (size_t loop = 0; loop < 2; loop++){
                                               ^

Failed on file: libclambcc/ClamBCAnalyzer/ClamBCAnalyzer.cpp