Comments (5)
After my initial investigate, the simplified code is as follows:
What's the original code?
regression/esbmc-cpp/list/list_sort
from esbmc.
@XLiZHI Your PR fixed this, didn't it?
from esbmc.
After my initial investigate, the simplified code is as follows:
What's the original code?
from esbmc.
commit: a86f3cc
B (c:@S@B@F@B#):
// 20 file main9.cpp line 1 column 8 function B
END_FUNCTION // B
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
list (c:@S@list@F@list#):
// 21
FUNCTION_CALL: B(&this->list[0])
// 22 file main9.cpp line 5 column 8 function list
END_FUNCTION // list
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
main (c:@F@main#):
// 23 no location
list mylist;
// 24
FUNCTION_CALL: list(&mylist)
// 25 file main9.cpp line 13 column 3 function main
RETURN: 0
// 26 file main9.cpp line 14 column 1 function main
END_FUNCTION // main
master:
B (c:@S@B@F@B#):
// 20 file main9.cpp line 1 column 8 function B
END_FUNCTION // B
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
list (c:@S@list@F@list#):
// 21 file main9.cpp line 5 column 8 function list
struct [10] tmp$1;
// 22 file main9.cpp line 5 column 8 function list
tmp$1=NONDET(struct [10]);
// 23
FUNCTION_CALL: B(&tmp$1[0])
// 24
this->list=tmp$1;
// 25 file main9.cpp line 5 column 8 function list
dead tmp$1;
// 26 file main9.cpp line 5 column 8 function list
END_FUNCTION // list
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
main (c:@F@main#):
// 27 file main9.cpp line 12 column 3 function main
list mylist;
// 28 file main9.cpp line 12 column 8 function main
list tmp$1;
// 29 file main9.cpp line 12 column 8 function main
tmp$1=NONDET(struct);
// 30
FUNCTION_CALL: list(&tmp$1)
// 31 file main9.cpp line 12 column 3 function main
mylist=tmp$1;
// 32 file main9.cpp line 13 column 3 function main
RETURN: 0
// 33 file main9.cpp line 14 column 1 function main
END_FUNCTION // main
from esbmc.
close via #1736
from esbmc.
Related Issues (20)
- [cpp] Support `VarTemplate` and `VarTemplateSpecialization` HOT 7
- [C] Incorrect "Verification successful" for k-induction when utilizing goto's HOT 3
- [C++ verification] problem with the std::enable_if template HOT 3
- [C++ verification] Shall we consider C++11 as the default standard in ESBMC? HOT 4
- [C++ Verification] Conversion of unsupported clang expr: "CXXNullPtrLiteralExpr" to expression HOT 2
- Segmentation fault when handling struct member
- [Interval Analysis] interval_template.h:509:68: warning: unused parameter ‘w’ [-Wunused-parameter]
- [Python frontend] ERROR: Undefined function: len HOT 1
- [clang-cpp] Overloads in vtable building lead to assertion error.
- [cpp] Missing return statement in string_view::copy
- [clang-cpp] Unnamed struct related decl is not handled
- Incompatible type for enum with large members HOT 3
- [C++ frontend] Assertion `DD && "queried property of class with no definition"' failed. HOT 12
- Cleanup comments and duplicated code in `get_decl_name`.
- [C++ Frontend] Conversion of unsupported clang expr: "CXXThrowExpr" to expression
- [Solidity] Support for mapping keyword HOT 1
- Combining --cvc and --smt-symex returns VERIFICATION_SUCCESSFUL HOT 1
- Combining mathsat, tuple-sym-flattener and smt-symex-guard gives false true HOT 8
- [stacktrace] Shall we invert the order? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esbmc.