Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No_need_F5复现失败 #79

Open
sswwa11 opened this issue Nov 9, 2023 · 7 comments
Open

No_need_F5复现失败 #79

sswwa11 opened this issue Nov 9, 2023 · 7 comments
Labels
question Further information is requested

Comments

@sswwa11
Copy link

sswwa11 commented Nov 9, 2023

为什么我用作者的脚本跑不出来结果呢? 报错如下
image

@taoky taoky added the question Further information is requested label Nov 9, 2023
@taoky
Copy link
Member

taoky commented Nov 9, 2023

我不是出题人,但是我在 Linux 下无法复现这个问题。

Python 依赖参考:

> pip freeze
ailment==9.2.76
angr==9.2.76
archinfo==9.2.76
bitarray==2.8.2
bitstring==4.1.2
cachetools==5.3.2
capstone==5.0.0.post1
cffi==1.16.0
claripy==9.2.76
cle==9.2.76
CppHeaderParser==2.7.4
decorator==5.1.1
dpkt==1.9.8
future==0.18.3
gitdb==4.0.11
GitPython==3.1.40
itanium-demangler==1.1
markdown-it-py==3.0.0
mdurl==0.1.2
monkeyhex==1.7.4
mpmath==1.3.0
mulpyplexer==0.9
nampa==0.1.1
networkx==3.2.1
pefile==2023.2.7
plumbum==1.8.2
ply==3.11
protobuf==4.25.0
psutil==5.9.6
pycparser==2.21
pyelftools==0.30
Pygments==2.16.1
PySMT==0.9.5
pyvex==9.2.76
rich==13.6.0
rpyc==5.3.1
smmap==5.0.1
sortedcontainers==2.4.0
sympy==1.12
unicorn==2.0.1.post1
z3-solver==4.10.2.0

@SkyeMoonchy
Copy link

我也跑不出出题人的angr脚本,我的脚本运行显示input done后运行一段时间会停止运行,无报错也无输出

@taoky
Copy link
Member

taoky commented Nov 9, 2023

我也跑不出出题人的angr脚本,我的脚本运行显示input done后运行一段时间会停止运行,无报错也无输出

最后的结果要 print,只是脚本没有给出。

@sswwa11
Copy link
Author

sswwa11 commented Nov 9, 2023

用python10的环境然后pip installl angr 就可以复现,我现在用的python3.9复现失败

@sswwa11
Copy link
Author

sswwa11 commented Nov 9, 2023

我不是出题人,但是我在 Linux 下无法复现这个问题。

Python 依赖参考:

> pip freeze
ailment==9.2.76
angr==9.2.76
archinfo==9.2.76
bitarray==2.8.2
bitstring==4.1.2
cachetools==5.3.2
capstone==5.0.0.post1
cffi==1.16.0
claripy==9.2.76
cle==9.2.76
CppHeaderParser==2.7.4
decorator==5.1.1
dpkt==1.9.8
future==0.18.3
gitdb==4.0.11
GitPython==3.1.40
itanium-demangler==1.1
markdown-it-py==3.0.0
mdurl==0.1.2
monkeyhex==1.7.4
mpmath==1.3.0
mulpyplexer==0.9
nampa==0.1.1
networkx==3.2.1
pefile==2023.2.7
plumbum==1.8.2
ply==3.11
protobuf==4.25.0
psutil==5.9.6
pycparser==2.21
pyelftools==0.30
Pygments==2.16.1
PySMT==0.9.5
pyvex==9.2.76
rich==13.6.0
rpyc==5.3.1
smmap==5.0.1
sortedcontainers==2.4.0
sympy==1.12
unicorn==2.0.1.post1
z3-solver==4.10.2.0

我在linux下也是这个报错,linux中python版本也是3.9 我估计是python版本的问题

@SkyeMoonchy
Copy link

我也跑不出出题人的angr脚本,我的脚本运行显示input done后运行一段时间会停止运行,无报错也无输出

最后的结果要 print,只是脚本没有给出。

谢谢谢谢,加了print可以跑出来了。我用的Ubuntu20自带的python3.8版本可以跑通

@taoky
Copy link
Member

taoky commented Nov 9, 2023

用python10的环境然后pip installl angr 就可以复现,我现在用的python3.9复现失败

我测试用 Arch Linux 的 Python 3.11,与 Nix 环境下的 Python 3.9 都没有出现错误。

shell.nix 如下:

{ pkgs ? (import <nixpkgs> {}).pkgs }:
with pkgs;
mkShell {
  buildInputs = [
    python39
  ];
  shellHook = ''
    # fixes libstdc++ issues and libgl.so issues
    export LD_LIBRARY_PATH=${stdenv.cc.cc.lib}/lib/:/run/opengl-driver/lib/
  '';
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants