karelklic / canal

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

Constructors.cpp:168(create): not implemented #137

Open xbrukner opened 11 years ago

xbrukner commented 11 years ago
/home/tomas/projekty/canal/lib/Constructors.cpp:168(create): not implemented
[bt]: (1) /home/tomas/projekty/canal/lib/libcanal.so : Canal::Constructors::create(llvm::Constant const&, llvm::Value const&, Canal::State const*) const+0x4a1 [0x400d5cd5]
[bt]: (2) /home/tomas/projekty/canal/lib/libcanal.so : Canal::Operations::variableOrConstant(llvm::Value const&, Canal::State&, llvm::Instruction const&, llvm::OwningPtr<Canal::Domain>&) const+0x6f [0x400f8129]
[bt]: (3) /home/tomas/projekty/canal/lib/libcanal.so : Canal::Operations::sub(llvm::BinaryOperator const&, Canal::State&)+0xb9 [0x400f8b55]
[bt]: (4) /home/tomas/projekty/canal/lib/libcanal.so : Canal::Operations::interpretInstruction(llvm::Instruction const&, Canal::State&)+0xb4b [0x400f7c75]
[bt]: (5) /home/tomas/projekty/canal/lib/libcanal.so : Canal::Interpreter::Iterator::interpretInstruction()+0x3f [0x400f2fa5]
[bt]: (6) /home/tomas/projekty/canal/tool/canal : State::run()+0x2e [0x80cb1de]
[bt]: (7) /home/tomas/projekty/canal/tool/canal : CommandRun::run(std::vector<std::string, std::allocator<std::string> > const&)+0x7b [0x80c5527]
[bt]: (8) /home/tomas/projekty/canal/tool/canal : Commands::executeLine(std::string const&)+0x1c2 [0x80c62f0]
[bt]: (9) /home/tomas/projekty/canal/tool/canal : main+0x139 [0x80b487d]
[bt]: (10) /lib/i386-linux-gnu/libc.so.6 : __libc_start_main+0xf3 [0x404324d3]
[bt]: (11) /home/tomas/projekty/canal/tool/canal() [0x80b43b5]

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

xbrukner commented 11 years ago

Instruction not implemented: ptrtoint

xbrukner commented 11 years ago

Instruction:

%72 = sub i32 %71, ptrtoint ([4419 x i8]* @G_line to i32)