hugsy / gef-extras

Extra goodies for GEF to (try to) make GDB suck even less
https://hugsy.github.io/gef-extras
MIT License
149 stars 50 forks source link

RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. #29

Closed therealdreg closed 3 years ago

therealdreg commented 3 years ago

$ gdb /bin/ls GEF for linux ready, type gef' to start,gef config' to configure 80 commands loaded for GDB 10.1 using Python engine 3.9 [+] Configuration from '/home/kali/.gef.rc' restored

:228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject :228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject :228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject :228: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject [+] 29 extra commands added from '/home/kali/gef-extras/scripts' Reading symbols from /bin/ls... (No debugging symbols found in /bin/ls) $ uname -a Linux kali 5.9.0-kali1-amd64 #1 SMP Debian 5.9.1-1kali2 (2020-10-29) x86_64 GNU/Linux # How to reproduce: Download the last Kali-Linux-2020.4-vmware-amd64 $ sudo apt-get update $ sudo apt install git cmake gcc g++ pkg-config libglib2.0-dev python3-pip build-essential python3 python3-dev gdb libcapstone3 libcapstone-dev cmake The last kali use python3.9 in GDB (GDB 10.1 using Python engine 3.9) then: $ sudo python3.9 -m pip install unicorn capstone filebytes keystone-engine ropper rpyc retdec-python $ sh -c "$(wget http://gef.blah.cat/sh -O -)" $ wget -q -O- https://github.com/hugsy/gef/raw/master/scripts/gef-extras.sh | sh Now use: $ gdb /bin/ls --- **If I remove ida_interact.py I dont see this warning**
hugsy commented 3 years ago

This is not gef related.

https://github.com/python-greenlet/greenlet/issues/178