Git Product home page Git Product logo

Comments (12)

trufae avatar trufae commented on June 4, 2024

Works for me, but im not onlinux, maybe anal.in affects this scan? /R should work with static too can you do some testing and check the code with some printf logs to see where's the issue?

from radare2.

xdp0 avatar xdp0 commented on June 4, 2024

OK yes, I will check it

from radare2.

trufae avatar trufae commented on June 4, 2024

Btw search from/to is ignored unless search.in=raw

from radare2.

xdp0 avatar xdp0 commented on June 4, 2024

Checking it now, for some reason fails to build on WSL2 because of absent -lm (undefined references to math functions)

UPD: Fixed building by uncommenting #$(LDFLAGS) in binr\rules.mk

from radare2.

xdp0 avatar xdp0 commented on June 4, 2024

Yes, it was because of search.in=dbg.map. It searches in the memory region of the current core->offset. When I did "dcu entry0", offset changed to the entry point and it worked.

P. S. btw #$(LDFLAGS) in binr\rules.mk really needs to be uncommented, it does not compile on WSL if I leave it commented

from radare2.

trufae avatar trufae commented on June 4, 2024

Is the wsl patch srill needed?

from radare2.

xdp0 avatar xdp0 commented on June 4, 2024

For searching not, for building yes.

from radare2.

trufae avatar trufae commented on June 4, 2024

it builds fine for me on wsl2 (ubuntu 22.04) i would like to get some error logs or a way to reproduce at least. can you do a pr? because there's no -lm line commented in binr/rules.mk

from radare2.

trufae avatar trufae commented on June 4, 2024

oh wait you are using a very old version of r2. please use git

from radare2.

xdp0 avatar xdp0 commented on June 4, 2024

No, I use the most fresh version from git. There is no -lm commented in binr/rules.mk, but there are #$(LDFLAGS) commented, two lines, 116 and 126. If I make git clone and then do sys/static.sh, it failes to compile and only work when I uncomment it.

from radare2.

trufae avatar trufae commented on June 4, 2024

Ah got it. So thats about the static build. I’ll check and fix unless you want to submit a pr

from radare2.

trufae avatar trufae commented on June 4, 2024

#22881

from radare2.

Related Issues (20)

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.