Skip to content

Commit

Permalink
py3 and str->var
Browse files Browse the repository at this point in the history
Having that options string statically in here was bothering me.
  • Loading branch information
bannsec authored and rhelmot committed Jan 28, 2019
1 parent 2d7fd40 commit d2aabd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/sym-write/solve.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

"""
Expand All @@ -16,7 +16,7 @@ def main():
p = angr.Project('./issue', load_options={"auto_load_libs": False})

# By default, all symbolic write indices are concretized.
state = p.factory.entry_state(add_options={"SYMBOLIC_WRITE_ADDRESSES"})
state = p.factory.entry_state(add_options={angr.options.SYMBOLIC_WRITE_ADDRESSES})

u = claripy.BVS("u", 8)
state.memory.store(0x804a021, u)
Expand Down

0 comments on commit d2aabd2

Please sign in to comment.