Skip to content

Instantly share code, notes, and snippets.

@uyjulian
Created May 18, 2023 15:20
Show Gist options
  • Save uyjulian/6b24b649da2b6b717d5f17cfaef4c901 to your computer and use it in GitHub Desktop.
Save uyjulian/6b24b649da2b6b717d5f17cfaef4c901 to your computer and use it in GitHub Desktop.
_bittestandset\(\(signed __int32 \*\)&(.*?)\.fds_bits\[(.*?) >> 5\], (.*?) & 0x1F\); -> FD_SET($3, $1)
_bittest\(\(const signed __int32 \*\)(.*?)\.fds_bits\[(.*?) >> 5\], (.*?) & 0x1F\) -> FD_ISSET($3, $1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment