Skip to content

Commit 6fa13de

Browse files
authored
Added MAP_ADD opcode to list of opcodes in safeeval.py (Gallopsled#2243)
1 parent 216e3ed commit 6fa13de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pwnlib/util/safeeval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
_const_codes = [
44
'POP_TOP','ROT_TWO','ROT_THREE','ROT_FOUR','DUP_TOP',
5-
'BUILD_LIST','BUILD_MAP','BUILD_TUPLE','BUILD_SET',
5+
'BUILD_LIST','BUILD_MAP', 'MAP_ADD', 'BUILD_TUPLE','BUILD_SET',
66
'BUILD_CONST_KEY_MAP', 'BUILD_STRING',
77
'LOAD_CONST','RETURN_VALUE','STORE_SUBSCR', 'STORE_MAP',
88
'LIST_TO_TUPLE', 'LIST_EXTEND', 'SET_UPDATE', 'DICT_UPDATE', 'DICT_MERGE',

0 commit comments

Comments
 (0)