Skip to content

Commit

Permalink
more bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas-Dresel committed Aug 11, 2017
1 parent f598b4c commit fc9bad9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions docs/loading.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,10 @@ You can interact directly with these objects to extract metadata from them:
<.text | offset 0x580, vaddr 0x400580, size 0x338>

# Get the address of the PLT stub for a symbol
>>> obj.plt['__libc_start_main']
>>> addr = obj.plt['__libc_start_main']
>>> addr
0x400540
>>> obj.reverse_plt[0x400540]
>>> obj.reverse_plt[addr]
'__libc_start_main'

# Show the prelinked base of the object and the location it was actually mapped into memory by CLE
Expand Down
2 changes: 1 addition & 1 deletion docs/surveyors.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ You have to see it for yourself:

```python
>>> import angr
>>> b = angr.Project('examples/fauxware/fauxware')
>>> proj = angr.Project('examples/fauxware/fauxware')

# By default, a Surveyor starts at the entry point of the program, with
# an exit created by calling `Project.initial_exit` with default arguments.
Expand Down

0 comments on commit fc9bad9

Please sign in to comment.