vscode使用pwntools代码高亮出错

vscode在使用pwntools的send系列函数时,会出现高亮错误的情况,目前最好的解决办法时对pwntools源码进行更改

右键send函数,选择Go to Definition,打开pwntools源码

image-20221025192410368

ctrl+F搜索send_raw函数

image-20221025192616883

把函数末尾的raise EOFError('Not implemented')更换成raise NotImplementedError()既可