Created
February 24, 2022 15:31
-
-
Save Lesmiscore/2dd50b78d7bdf534015a0db7da3ffb6a to your computer and use it in GitHub Desktop.
script to close FDs using gdb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
( for I in {5..30} ; do echo call '(int)' close'('$I')' ; done ; echo detach ) | sudo gdb -p 425335 -x - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment