Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
AeonLucid committed Aug 20, 2020
1 parent bdcfea0 commit 1963185
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions androidemu/internal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ def align(addr, size, growl):
def get_segment_protection(prot_in):
prot = 0

if prot_in & PF_R is not 0:
if (prot_in & PF_R) != 0:
prot |= 1

if prot_in & PF_W is not 0:
if (prot_in & PF_W) != 0:
prot |= 2

if prot_in & PF_X is not 0:
if (prot_in & PF_X) != 0:
prot |= 4

return prot
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
unicorn==1.0.1
pyelftools==0.24
unicorn==1.0.2rc4
pyelftools==0.26
hexdump==3.3
keystone-engine==0.9.1.post3
keystone-engine==0.9.2

0 comments on commit 1963185

Please sign in to comment.