search for: staticanalyzer

Displaying 20 results from an estimated 32 matches for "staticanalyzer".

2012 Sep 09
2
[LLVMdev] : troubles during compiling
Hello everyone! After I've checked out Clang and Compiler-RT repositories, I receive this error during compilation: llvm[5]: Compiling PathDiagnostic.cpp for Debug+Asserts build /media/data/dev/llvm/llvm/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp: In member function 'bool {anonymous}::CompareDiagnostics::operator()(const clang::ento::PathDiagnostic*, const clang::ento::PathDiagnostic*) const': /media/data/dev/llvm/llvm/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp:224:23: error: no match for 'ope...
2012 Sep 09
0
[LLVMdev] : troubles during compiling
...09/09/12 03:36, Vadim Khoptynets wrote: > Hello everyone! > > After I've checked out Clang and Compiler-RT repositories, I receive this error > during compilation: > > llvm[5]: Compiling PathDiagnostic.cpp for Debug+Asserts build > /media/data/dev/llvm/llvm/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp: In > member function 'bool {anonymous}::CompareDiagnostics::operator()(const > clang::ento::PathDiagnostic*, const clang::ento::PathDiagnostic*) const': > /media/data/dev/llvm/llvm/tools/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp:224:23: > error: n...
2016 Jun 10
5
[Release-testers] 3.8.1-rc1 has been tagged
...olchain. FWIW, my mipsel build on a Debian Jessie machine (binutils 2.24.90.20141023-1) successfully completed test-release.sh. I'm currently running the tests. Here's the relevant bit of the log from your link: cd "/«BUILDDIR»/llvm-toolchain-3.8-3.8.1~+rc1/build-llvm/tools/clang/lib/StaticAnalyzer/Checkers" && /usr/bin/g++-5 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"/«BUILDDIR»/llvm-toolchain-3.8-3.8.1~+rc1/build-llvm/tools/clang/lib/StaticAnalyzer...
2016 Jun 12
2
[cfe-dev] [Release-testers] 3.8.1-rc1 has been tagged
...chine (binutils >> 2.24.90.20141023-1) successfully completed test-release.sh. I'm currently >> running the tests. >> >> Here's the relevant bit of the log from your link: >> cd >> "/«BUILDDIR»/llvm-toolchain-3.8-3.8.1~+rc1/build-llvm/tools/clang/lib/StaticAnalyzer/Checkers" >> && /usr/bin/g++-5 -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_OBJC_REWRITER >> -DCLANG_ENABLE_STATIC_ANALYZER -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS >> -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS >> -I"/«BUILDDIR»/llvm-toolchain-3.8-3.8.1~+rc1/build...
2018 Mar 02
0
[StaticAnalyzer] new alpha.security.MmapWriteExec checker
Hi dear list, Since yesterday my new alpha checker had landed thus ready to test if you find any use for it ! Should work out of the box for most of posix systems. Cheers. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180302/0d269d81/attachment.html>
2012 Oct 07
2
[LLVMdev] getting pointer to CFG object for any given C program
...r to CFG object for this code in order to traverse basic blocks and do some analysis using CFG object. From my main program main.cpp, how can I get pointer to CFG object if argv[1] = hello.c ? I have seen following places among many in clang/lib or clang/include: llvm-3.1.src/tools/clang/lib/StaticAnalyzer/Checkers/DebugCheckers.cpp:96 - calls checkASTCodeBody(const Decl *D, AnalysisManager& mgr, BugReporter &BR) if (CFG *cfg = mgr.getCFG(D)) call cfg->dump() llvm-3.1.src/tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp:472 - AnalysisConsumer::HandleCode(Decl *D, A...
2016 Jun 02
6
-Wmisleading-indentation violations
...ut the latter is misleadingly indented as if it is guarded by the ‘if’ if (ParseUseListOrderBB()) return true; break; ^~~~~ ``` and ``` /home/dsl11/dev/llvm-upstream/src/tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp: In member function ‘void {anonymous}::ObjCDeal locChecker::diagnoseMissingReleases(clang::ento::CheckerContext&) const’: /home/dsl11/dev/llvm-upstream/src/tools/clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp:532:5: warning: this ‘if’ clause does not guar...
2018 Mar 15
1
[GSoC 2018] Integrate with Z3 SMT solver to reduce false positives.
...er a branch is definitely true or false (i.e. whether the constraints are satisfiable), thus preventing exponential blowup of the analysis. However, when I was looking through the github version of LLVM, it seems like z3 is already incorporated: https://github.com/llvm-mirror/clang/blob/master/lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp I guess my question is, what would the project contribute on top of the z3 manager that is currently implemented for LLVM? Thanks! Brenda -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/atta...
2011 Oct 24
0
[LLVMdev] build warnings
James, > [ 94%] [ 94%] Building CXX object > tools/clang/tools/libclang/CMakeFiles/libclang.dir/IndexingContext.cpp.o > Building CXX object > tools/clang/lib/StaticAnalyzer/Core/CMakeFiles/clangStaticAnalyzerCore.dir/M > emRegion.cpp.o > Linking CXX shared library ../../../../lib/liblibclang.so I am suspicious, I guess you might not enable optimization on cmake build. 1) make sure with "make VERBOSE=1" 2) make sure you would set proper CMAKE_BUILD_TY...
2016 Jun 08
9
3.8.1-rc1 has been tagged
Hi, I've tagged 3.8.1-rc1, testers can begin testing. -Tom
2016 May 18
3
BLX relocation regression on Thumb2 bot
Hi Tim, You seem to be working around BLX support on ARM, and this linker error has cropped up on our buildbot: http://lab.llvm.org:8011/builders/clang-cmake-thumbv7-a15-full-sh/builds/3526 llvm/tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp: (.text._ZN5clang4ento24ProgramStatePartialTraitIN4llvm12ImmutableMapIPKNS0_7SymExprEN12_GLOBAL__N_111ReallocPairENS2_16ImutKeyValueInfoIS6_S8_EEEEE13DeleteContextEPv+0x88): relocation truncated to fit: R_ARM_THM_JUMP24 against symbol `operator delete(void*)@@GLIBCXX_3....
2011 Oct 23
5
[LLVMdev] build warnings
On Sat, Oct 22, 2011 at 12:24 AM, James Molloy wrote: > Hi Paul, > > That should be easy enough, because the LLVM build has no warnings in it! > > Some of us build with -Werror, and even with those of us that don't warnings are not tolerated. You're already seeing all the warnings that are coming out of the build :) So, all the "variable might be used
2011 Nov 09
2
[LLVMdev] [cfe-dev] LLVM 3.0rc3 Testing Beginning
...orCompareOperands(clang::ExprResult&, clang::ExprResult&, clang::SourceLocation, bool)’: /home/greened/src/llvm-30-rc3/clang-3.0rc3.src/lib/Sema/SemaExpr.cpp:6698:12: warning: variable ‘RHSType’ set but not used [-Wunused-but-set-variable] /home/greened/src/llvm-30-rc3/clang-3.0rc3.src/lib/StaticAnalyzer/Core/RegionStore.cpp: In member function ‘clang::ento::SVal {anonymous}::RegionStoreManager::RetrieveStruct(clang::ento::Store, const clang::ento::TypedValueRegion*)’: /home/greened/src/llvm-30-rc3/clang-3.0rc3.src/lib/StaticAnalyzer/Core/RegionStore.cpp:1280:12: warning: variable ‘T’ set but not u...
2013 Apr 03
2
[LLVMdev] RFC: Bug fix releases for 3.3 and beyond
On 3 Apr 2013, at 18:42, Sean Silva <silvas at purdue.edu> wrote: > I'm not sure how difficult it actually is to follow ToT compared to one huge pain when upgrading for our full releases. I think it would be valuable to obtain feedback from projects that rely on LLVM as to how they go about integrating LLVM into their project and how our releases (and potentially dot-releases) would
2016 Feb 09
2
IR with no optimization
Are you doing this to enable optimizations, or to detect bugs? If the former, dealing with LLVM IR is probably your best bet, and you may find this to be helpful: http://llvm.org/docs/AliasAnalysis.html. If the latter, you probably want to hook into clang's StaticAnalyzer. I'm not familiar with whether or not you'd be able to do AA with it, but AFAIK it retains the full C/C++ AST (LLVM IR doesn't), so your diagnostics would likely be a lot better with that. :) On Tue, Feb 9, 2016 at 9:46 AM, Jingyue Wu via llvm-dev < llvm-dev at lists.llvm.org> wr...
2011 Nov 08
0
[LLVMdev] [cfe-dev] LLVM 3.0rc3 Testing Beginning
On 7 November 2011 22:00, Bill Wendling <wendling at apple.com> wrote: > We are starting on our third (and hopefully last) round of testing for LLVM 3.0. Please visit: > >        http://llvm.org/pre-releases/3.0/rc3/ > > for the sources. There are also binaries for Darwin up there, with more to come during the week. Please build this release candidate, test it out on your
2011 Apr 09
0
[LLVMdev] [cfe-dev] Adding new target for hobby OS
...nfo.h > lib/Basic/Targets.cpp > lib/CodeGen/TargetInfo.cpp > lib/Driver/HostInfo.cpp > lib/Driver/Tools.cpp > lib/Driver/Driver.cpp > lib/Driver/ToolChains.h > lib/Driver/Tools.h > lib/Driver/ToolChains.cpp > lib/Frontend/InitHeaderSearch.cpp > ... and maybe: > lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp > > It could be nice to add a target by just creating a target > configuration file (with everything in one file), maybe using plain > text files or tablegen. My guess is that many targets are similar in > different aspects, so some form of i...
2011 Nov 07
6
[LLVMdev] LLVM 3.0rc3 Testing Beginning
Good day, LLVMers! We are starting on our third (and hopefully last) round of testing for LLVM 3.0. Please visit: http://llvm.org/pre-releases/3.0/rc3/ for the sources. There are also binaries for Darwin up there, with more to come during the week. Please build this release candidate, test it out on your projects, and let us know if you find any regressions from the 2.9 release. Please keep
2017 Jun 28
2
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...clangSerialization [ 77%] Built target clangFrontend [ 77%] Built target clangRewriteFrontend [ 77%] Built target clangFrontendTool [ 77%] Built target clangTooling [ 77%] Built target clangToolingCore [ 77%] Built target clangToolingRefactor [ 77%] Built target clangIndex [ 78%] Built target clangStaticAnalyzerCore [ 83%] Built target clangStaticAnalyzerCheckers [ 83%] Built target clangStaticAnalyzerFrontend [ 83%] Built target clangFormat [ 85%] Built target diagtool [ 85%] Built target clang-offload-bundler [ 85%] Linking CXX executable ../../../../bin/clang /home/yawmoo/Desktop/clfs/llvm-cross-tools-l...
2017 Jun 28
3
Building llvm with clang and lld on arm and the llvm arm backend relocation on position independent code
...[ 77%] Built target clangRewriteFrontend >> [ 77%] Built target clangFrontendTool >> [ 77%] Built target clangTooling >> [ 77%] Built target clangToolingCore >> [ 77%] Built target clangToolingRefactor >> [ 77%] Built target clangIndex >> [ 78%] Built target clangStaticAnalyzerCore >> [ 83%] Built target clangStaticAnalyzerCheckers >> [ 83%] Built target clangStaticAnalyzerFrontend >> [ 83%] Built target clangFormat >> [ 85%] Built target diagtool >> [ 85%] Built target clang-offload-bundler >> [ 85%] Linking CXX executable ../../../../...