Coder Social home page Coder Social logo

运行脚本出错 about deflat HOT 8 CLOSED

cq674350529 avatar cq674350529 commented on August 15, 2024
运行脚本出错

from deflat.

Comments (8)

Sunlazys avatar Sunlazys commented on August 15, 2024

My command: python .\debogus.py -f .\fishman --addr 0x34290
The executable is ELF64,and the bash address is 0x30000.

from deflat.

cq674350529 avatar cq674350529 commented on August 15, 2024

Hi, can you share the fishman binary ?

from deflat.

Sunlazys avatar Sunlazys commented on August 15, 2024

Of courese,i send the fishman binary to your email.

from deflat.

cq674350529 avatar cq674350529 commented on August 15, 2024

Hi, I looked at the fishman binary you provided. Since it's a PIE-enabled binary, the address 0x34290 you provided is invalid when loaded with angr.
Here is the warning from angr. And in this case, the right address should be 0x434290.

WARNING | 2023-06-29 17:12:29,194 | cle.loader | The main binary is a position-independent executable. It is being loaded with a base address of 0x400000.

from deflat.

TopCode280 avatar TopCode280 commented on August 15, 2024

这个问题我也遇到了,但是我并没有发现作者上条评论的日志,我的日志是这样的WARNING | 2023-07-06 16:39:50,753 | cle.loader | For more information about "Symbol was allocated without a known size",see https://docs.angr.io/extending-angr/environment#simdata
请问我也是因为函数地址错误或者是其他问题
感谢回答

from deflat.

cq674350529 avatar cq674350529 commented on August 15, 2024

@TopCode280 Can you provide more specific information? Such as how you run the script, the error log, and you binary if possible.
By the way, you can check if your target binary is PIE-enabled or not?

from deflat.

TopCode280 avatar TopCode280 commented on August 15, 2024

错误是和上面的朋友一样在执行
target_function = cfg.functions.get(start) supergraph = am_graph.to_supergraph(target_function.transition_graph)
代码时target_function为None,我刚刚检查二进制文件是否启用PIE在linux系统上提示Bad ELF,ida中分析也找不到.text段
我将二进制文件发送至您的邮箱,若您愿意可以帮我看一下,是否这个二进制文件是错误的,二进制文件来源是一个app中解压出来的,感谢

from deflat.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.