Skip to content
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

Update the Docker to Base off of Ubuntu 20.04 (focal) rather than 18.04 #365

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

agroce
Copy link
Collaborator

@agroce agroce commented Dec 10, 2020

  • Right now, this doesn't work with Eclipser for known reasons

  • Angora is also disabled, though I have no investigated why it fails (that is, it might fail on 18.04 also)

  • Eclipser probably fails on 18.04 right now as well, just because we directly git clone 2.0, which we probably don't work with

@agroce
Copy link
Collaborator Author

agroce commented Dec 10, 2020

Manticore, alas, seems to not be happy:

it runs but:

2020-12-10 13:55:59,041: [41440] m.n.c.abstractcpu:WARNING: Unimplemented instruction: 0x00000000004609c0:	f3 0f 1e fa	endbr64	
2020-12-10 13:55:59,051: [41440] m.n.c.abstractcpu:WARNING: Unimplemented instruction: 0x000000000041c4f0:	f3 0f 1e fa	endbr64	
2020-12-10 13:55:59,054: [41440] m.n.c.abstractcpu:WARNING: Unimplemented instruction: 0x000000000047b240:	f3 0f 1e fa	endbr64	
2020-12-10 13:55:59,065: [41440] m.c.worker:ERROR: Exception in state 0: DecodeException('Error decoding instruction @ 0x47b299')
Traceback (most recent call last):
  File "/home/user/.local/lib/python3.8/site-packages/manticore/native/cpu/abstractcpu.py", line 937, in decode_instruction
    insn = self.disasm.disassemble_instruction(code, pc)
  File "/home/user/.local/lib/python3.8/site-packages/manticore/native/cpu/disasm.py", line 78, in disassemble_instruction
    return next(self.disasm.disasm(code, pc))
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/home/user/.local/lib/python3.8/site-packages/manticore/core/worker.py", line 121, in run
    current_state.execute()
  File "/home/user/.local/lib/python3.8/site-packages/manticore/native/state.py", line 192, in execute
    result = self._platform.execute()
  File "/home/user/.local/lib/python3.8/site-packages/manticore/platforms/linux.py", line 2906, in execute
    self.current.execute()
  File "/home/user/.local/lib/python3.8/site-packages/manticore/native/cpu/abstractcpu.py", line 987, in execute
    insn = self.decode_instruction(curpc)
  File "/home/user/.local/lib/python3.8/site-packages/manticore/native/cpu/abstractcpu.py", line 939, in decode_instruction
    raise DecodeException(pc, code)
manticore.native.cpu.abstractcpu.DecodeException: Error decoding instruction @ 0x47b299
11:56

starts out looking ok:

user@8b06f1028970:~/deepstate/build_deepstate/examples$ deepstate-manticore ./Crash 
INFO:deepstate:Setting log level from DEEPSTATE_LOG: 2
INFO:deepstate.core.base:Setting log level from --min_log_level: 2
2020-12-10 13:55:53,926: [41440] m.n.manticore:INFO: Loading program ./Crash
2020-12-10 13:55:55,421: [41440] m.n.manticore:INFO: Loading program ./Crash
11:56

but then the unimplemented instruction stuff starts pouring out.

Same example works on my docker built using 18.04.

for now I'm going to call that too many of the tools DeepState relies on aren't 20.04 ready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant