Skip to content

Commit

Permalink
Merge 9071832 into 11f34c3
Browse files Browse the repository at this point in the history
  • Loading branch information
Arusekk committed Jun 4, 2022
2 parents 11f34c3 + 9071832 commit 175b929
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 3 additions & 4 deletions docs/requirements.txt
Expand Up @@ -12,8 +12,7 @@ pypandoc
pyserial>=2.7
requests>=2.5.1
ropgadget>=5.3
sphinx==1.8.6; python_version < '3.0.0'
sphinx==4.5.0; python_version >= '3.0.0'
sphinx==1.8.6; python_version<'3'
sphinx>=4.5.0; python_version>='3'
sphinx_rtd_theme
sphinxcontrib-napoleon
sphinxcontrib-autoprogram<=0.1.5
sphinxcontrib-autoprogram<=0.1.5
2 changes: 1 addition & 1 deletion docs/source/conf.py
Expand Up @@ -42,8 +42,8 @@
'sphinx.ext.coverage',
'sphinx.ext.todo',
'sphinx.ext.intersphinx',
'sphinx.ext.napoleon',
'sphinxcontrib.autoprogram',
'sphinxcontrib.napoleon'
]

# Disable "info" logging directly to stdout by Sphinx
Expand Down
2 changes: 2 additions & 0 deletions pwnlib/util/safeeval.py
Expand Up @@ -6,6 +6,7 @@
'BUILD_CONST_KEY_MAP', 'BUILD_STRING',
'LOAD_CONST','RETURN_VALUE','STORE_SUBSCR', 'STORE_MAP',
'LIST_TO_TUPLE', 'LIST_EXTEND', 'SET_UPDATE', 'DICT_UPDATE', 'DICT_MERGE',
'COPY', 'RESUME',
]

_expr_codes = _const_codes + [
Expand All @@ -15,6 +16,7 @@
'BINARY_MODULO','BINARY_ADD','BINARY_SUBTRACT',
'BINARY_LSHIFT','BINARY_RSHIFT','BINARY_AND','BINARY_XOR',
'BINARY_OR',
'BINARY_OP',
]

_values_codes = _expr_codes + ['LOAD_NAME']
Expand Down

0 comments on commit 175b929

Please sign in to comment.