-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manticore seems to terminate without proper ending message #1436
Comments
Regarding the termination message: When #1385 was merged, it included some changes to both the API and the output. #1384 will restore the old output behavior, and we'll have a list of all the changes when we next issue a release. Of course, since you're on the latest |
@ehennenfent Thanks for the reply. So do you mean that it is currently not sure whether Manticore successfully terminated or not? ( or just the problem of a module for logging message?) As I described, Manticore produced a directory that only contains a X.pkl file such as state_ 00000001.pkl . |
Hey, sorry we've been letting this languish. We're prepping to release a new version of Manticore that should have these changes documented in the changelog. In #1384 we moved the total time printing to manticore/native. That means that if you're running on an ELF binary, it'll print the total time, but it won't do so for EVM smart contracts. We made this change because the start time is recorded in the We were missing the The directory full of .pkl files is also expected. Those are serialized states that Manticore has moved to the disk. Since #1385, one needs to call the |
OS / Environment
host: Ubuntu 18.04.2 , used provided Manticore docker image
Manticore version
0.2.5 (from docker image)
Python version
3.6.7 (from docker image)
Summary of the problem
While running Manticore on the four contracts below, I observed that Manticore did not print proper termination message. For the four contract and corresponding entire logs, please see
Any relevant logs
below. I wonder whether all these are Manticore's internal bugs or Manticore's analyses are properly terminated.But based on my experience with Manticore, in usual termination cases, Manticore seems to produce command log that ends with information on analysis result file and total elapsed time, e.g.,:
which are absent for the four contracts that I attached below.
Step to reproduce the behavior
As did in #1435 , I typed the following command to detect integer overflow bugs for each contract:
where
CONTAINERID
is a docker container's ID, andcontract.sol
is each of the four contracts below (see "Any relevant logs").Any relevant logs
Contract1: https://etherscan.io/address/0x3ac96bbe8b60d715fd818b3fe242edf9def20571#code
Entire log on Contract1:
Contract2: https://etherscan.io/address/0x81a9ebfdcd87cd291eb5e5260901a898df3bdafd#code
Entire log on Contract2:
Contract3: https://etherscan.io/address/0x10e886bacd4a12c21bb39646751374eae495b776#code
Entire log on Contract3:
Contract4: https://etherscan.io/address/0x2d6669c810bf1444d2e5e7f4cfc56a4c10cf7a2a#code
Entire log on Contract4:
Further I note that, for all 4 cases, Manticore produce a directory that only contains one or two files named "state_ 00000001.pkl" (though this directory was not specified in the command log, I was able to track this by just running Manticore only on these 4 contracts).
The text was updated successfully, but these errors were encountered: