mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-04-27 11:09:09 -04:00
dis python
This commit is contained in:
parent
0aaaa30fc1
commit
6228cf47ff
12
Reverse_Engineering/python/example_dis.py
Normal file
12
Reverse_Engineering/python/example_dis.py
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
|
||||||
|
#example of dis
|
||||||
|
|
||||||
|
import dis
|
||||||
|
|
||||||
|
def foo(a):
|
||||||
|
x = 3
|
||||||
|
return x + a
|
||||||
|
|
||||||
|
|
||||||
|
print(dis.dis(foo.func_code))
|
Loading…
x
Reference in New Issue
Block a user