karelklic / canal

Abstract interpreter for real-world application programs
https://github.com/karelklic/canal/wiki
Other
32 stars 2 forks source link

IntegerInterval.cpp:1237(trunc) assert failed: mSignedFrom must be lower than mSignedTo [mSignedFrom.sle(mSignedTo)] #135

Closed xbrukner closed 11 years ago

xbrukner commented 11 years ago
/home/tomas/projekty/canal/lib/IntegerInterval.cpp:1237(trunc) assert failed: mSignedFrom must be lower than mSignedTo [mSignedFrom.sle(mSignedTo)]
[bt]: (1) /home/tomas/projekty/canal/lib/libcanal.so : Canal::Integer::Interval::trunc(Canal::Domain const&)+0x1aa [0x400ede16]
[bt]: (2) /home/tomas/projekty/canal/lib/libcanal.so : +0xbe35a [0x400e335a]
[bt]: (3) /home/tomas/projekty/canal/lib/libcanal.so : Canal::Integer::Container::trunc(Canal::Domain const&)+0x2a [0x400e33d8]
[bt]: (4) /home/tomas/projekty/canal/lib/libcanal.so : Canal::Operations::castOperation(llvm::CastInst const&, Canal::State&, Canal::Domain& (Canal::Domain::*)(Canal::Domain const&))+0xbb [0x400f83fd]
[bt]: (5) /home/tomas/projekty/canal/lib/libcanal.so : Canal::Operations::trunc(llvm::TruncInst const&, Canal::State&)+0x3d [0x400faaab]
[bt]: (6) /home/tomas/projekty/canal/lib/libcanal.so : Canal::Operations::interpretInstruction(llvm::Instruction const&, Canal::State&)+0x5a6 [0x400f76d0]
[bt]: (7) /home/tomas/projekty/canal/lib/libcanal.so : Canal::Interpreter::Iterator::interpretInstruction()+0x3f [0x400f2fa5]
[bt]: (8) /home/tomas/projekty/canal/tool/canal : State::run()+0x2e [0x80cb1de]
[bt]: (9) /home/tomas/projekty/canal/tool/canal : CommandRun::run(std::vector<std::string, std::allocator<std::string> > const&)+0x7b [0x80c5527]
[bt]: (10) /home/tomas/projekty/canal/tool/canal : Commands::executeLine(std::string const&)+0x1c2 [0x80c62f0]
[bt]: (11) /home/tomas/projekty/canal/tool/canal : main+0x139 [0x80b487d]
[bt]: (12) /lib/i386-linux-gnu/libc.so.6 : __libc_start_main+0xf3 [0x404324d3]
[bt]: (13) /home/tomas/projekty/canal/tool/canal() [0x80b43b5]

Files: http://www.fi.muni.cz/~xbrukner/integration/base64.c, http://www.fi.muni.cz/~xbrukner/integration/base64.s