Accepting request 1242811 from devel:tools:statica
- Update to version 3.1+20250106: * Freestanding fortify implementation * Freestanding intrinsic implementation * Freestanding klee-libc implementation * Freestanding runtime implementation * Freestanding errno implementation (falls back to host when available) * Define _LARGEFILE64_SOURCE at the beginning of necessary files * Add an option to generate XML test cases * fix ASan support for GCC 14 (and modernize it) - switch to llvm 14, as llvm 16 is used solely by klee OBS-URL: https://build.opensuse.org/request/show/1242811 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/klee?expand=0&rev=42
This commit is contained in:
commit
b3b1fc0231
@ -18,9 +18,7 @@
|
||||
#include "llvm/FileCheck/FileCheck.h"
|
||||
#include "llvm/Support/CommandLine.h"
|
||||
#include "llvm/Support/InitLLVM.h"
|
||||
#include "llvm/Support/MemoryBuffer.h"
|
||||
#include "llvm/Support/Process.h"
|
||||
#include "llvm/Support/SourceMgr.h"
|
||||
#include "llvm/Support/WithColor.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include <cmath>
|
||||
@ -81,7 +79,7 @@ static cl::opt<bool> AllowEmptyInput(
|
||||
"checks that some error message does not occur, for example."));
|
||||
|
||||
static cl::opt<bool> AllowUnusedPrefixes(
|
||||
"allow-unused-prefixes",
|
||||
"allow-unused-prefixes", cl::init(false), cl::ZeroOrMore,
|
||||
cl::desc("Allow prefixes to be specified but not appear in the test."));
|
||||
|
||||
static cl::opt<bool> MatchFullLines(
|
||||
@ -104,12 +102,12 @@ static cl::opt<bool> AllowDeprecatedDagOverlap(
|
||||
"non-overlapping CHECK-DAG implementation.\n"));
|
||||
|
||||
static cl::opt<bool> Verbose(
|
||||
"v",
|
||||
"v", cl::init(false), cl::ZeroOrMore,
|
||||
cl::desc("Print directive pattern matches, or add them to the input dump\n"
|
||||
"if enabled.\n"));
|
||||
|
||||
static cl::opt<bool> VerboseVerbose(
|
||||
"vv",
|
||||
"vv", cl::init(false), cl::ZeroOrMore,
|
||||
cl::desc("Print information helpful in diagnosing internal FileCheck\n"
|
||||
"issues, or add it to the input dump if enabled. Implies\n"
|
||||
"-v.\n"));
|
||||
@ -369,8 +367,6 @@ static std::string GetCheckTypeAbbreviation(Check::FileCheckType Ty) {
|
||||
return "bad-not";
|
||||
case Check::CheckBadCount:
|
||||
return "bad-count";
|
||||
case Check::CheckMisspelled:
|
||||
return "misspelled";
|
||||
case Check::CheckNone:
|
||||
llvm_unreachable("invalid FileCheckType");
|
||||
}
|
||||
@ -634,7 +630,7 @@ static void DumpAnnotatedInput(raw_ostream &OS, const FileCheckRequest &Req,
|
||||
// -dump-input-filter. However, in case the resulting ellipsis would occupy
|
||||
// more lines than the input lines and annotations it elides, buffer the
|
||||
// elided lines and annotations so we can print them instead.
|
||||
raw_ostream *LineOS;
|
||||
raw_ostream *LineOS = &OS;
|
||||
if ((!PrevLineInFilter || PrevLineInFilter + DumpInputContext < Line) &&
|
||||
(NextLineInFilter == UINT_MAX ||
|
||||
Line + DumpInputContext < NextLineInFilter))
|
||||
|
@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/klee/klee</param>
|
||||
<param name="changesrevision">c4bbdcd160379e5926b4d19c925215b3013b6275</param></service></servicedata>
|
||||
<param name="changesrevision">1a7051635daf33d666fd03b4a793c0a81a4897e3</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f0b3beef3f363b690963e8d271b18ccd44c82a21b7e8ff9a9712f786b56c5fa9
|
||||
size 19211277
|
3
klee-3.1+20250106.obscpio
Normal file
3
klee-3.1+20250106.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:76ed15ee378cc00dbf7d69ac5cfc154738294d4d8ccd33a3ad5b43c738115e6a
|
||||
size 19223053
|
14
klee.changes
14
klee.changes
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 03 12:05:59 UTC 2025 - jslaby@suse.cz
|
||||
|
||||
- Update to version 3.1+20250106:
|
||||
* Freestanding fortify implementation
|
||||
* Freestanding intrinsic implementation
|
||||
* Freestanding klee-libc implementation
|
||||
* Freestanding runtime implementation
|
||||
* Freestanding errno implementation (falls back to host when available)
|
||||
* Define _LARGEFILE64_SOURCE at the beginning of necessary files
|
||||
* Add an option to generate XML test cases
|
||||
* fix ASan support for GCC 14 (and modernize it)
|
||||
- switch to llvm 14, as llvm 16 is used solely by klee
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 09 07:10:04 UTC 2024 - jslaby@suse.cz
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
name: klee
|
||||
version: 3.1+20241105
|
||||
mtime: 1730820864
|
||||
commit: c4bbdcd160379e5926b4d19c925215b3013b6275
|
||||
version: 3.1+20250106
|
||||
mtime: 1736168884
|
||||
commit: 1a7051635daf33d666fd03b4a793c0a81a4897e3
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package klee
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define llvm_version 16
|
||||
%define llvm_version 14
|
||||
|
||||
%ifarch x86_64
|
||||
%define with_uclibc 1
|
||||
@ -30,7 +30,7 @@ Name: klee
|
||||
Summary: LLVM Execution Engine
|
||||
License: NCSA
|
||||
Group: Development/Languages/Other
|
||||
Version: 3.1+20241105
|
||||
Version: 3.1+20250106
|
||||
Release: 0
|
||||
URL: http://klee.github.io/
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
|
3
not.cpp
3
not.cpp
@ -58,8 +58,7 @@ int main(int argc, const char **argv) {
|
||||
for (int i = 0; i < argc; ++i)
|
||||
Argv.push_back(argv[i]);
|
||||
std::string ErrMsg;
|
||||
int Result =
|
||||
sys::ExecuteAndWait(*Program, Argv, std::nullopt, {}, 0, 0, &ErrMsg);
|
||||
int Result = sys::ExecuteAndWait(*Program, Argv, None, {}, 0, 0, &ErrMsg);
|
||||
#ifdef _WIN32
|
||||
// Handle abort() in msvcrt -- It has exit code as 3. abort(), aka
|
||||
// unreachable, should be recognized as a crash. However, some binaries use
|
||||
|
Loading…
x
Reference in New Issue
Block a user