Coder Social home page Coder Social logo

Comments (10)

disconnect3d avatar disconnect3d commented on May 26, 2024 1

@futex
Put this after the imports:

ida_segment = idaapi
ida_funcs = idaapi
ida_xref = idaapi
ida_search = idaapi
ida_s = idaapi

Or pull the code from PR https://github.com/strazzere/golang_loader_assist/pull/4/files as this actually renames all of above into idaapi and so fixes your problem.

from golang_loader_assist.

strazzere avatar strazzere commented on May 26, 2024 1

Interesting - thank you for the comment and the PR. I will definitely add this to my list of things to relook at. I've actually be refactoring this code a bit so that it will work better with 32bit code, PE and MachO files. Thanks

from golang_loader_assist.

strazzere avatar strazzere commented on May 26, 2024

It would appear it failing to find the "hook" that I used to identify runtime_morestack (specifically I'm looking for word ptr ds:1003h, 0. This is causing the get_func to return a NoneType which results in this stack trace. I'll add code to make this be caught and prevent the following code to be reachable.

However, this means it won't actually complete in trying to map out all the functions. Can you provide the binary which you are running this on or at least a hash? I'd like to dig into this further and see if a different type of hook needs to be used.

Thanks for reporting this!

from golang_loader_assist.

vyrus001 avatar vyrus001 commented on May 26, 2024

I can provide the binary for you soon, I don't want to post it tho because it is designed as a template for services in a CTF I am working on, shall i email it to you?

from golang_loader_assist.

strazzere avatar strazzere commented on May 26, 2024

Email works -- strazz at gmail - and that should give me more to test on for the fix.

from golang_loader_assist.

strazzere avatar strazzere commented on May 26, 2024

That would be excellent, strazz at gmail would be best :)

On Oct 21, 2016 4:45 PM, "vyrus001" [email protected] wrote:

I can provide the binary for you soon, I don't want to post it tho because
it is designed as a template for services in a CTF I am working on, shall i
email it to you?


You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAmERuEsj6PC_8haqNqbFFHwH3d_EBCdks5q2U6YgaJpZM4Kco-u
.

from golang_loader_assist.

strazzere avatar strazzere commented on May 26, 2024

I haven't received any binaries yet - I'll try hunting down a handful of different one ITW though.

Could you clarify if the binaries you're trying to use the loader on are ELF or another format?

from golang_loader_assist.

vyrus001 avatar vyrus001 commented on May 26, 2024

my last email should have contained several binaries for several different OSs, just posting here to verify / check that they were received.

from golang_loader_assist.

futex avatar futex commented on May 26, 2024

Hello,

I have a error too on ida 6.9.160222 (64bits), the message is quite different, but maybe the cause is the same.

Screenshoot of the error is here:
alt tag

from golang_loader_assist.

strazzere avatar strazzere commented on May 26, 2024

If you repull from master - this should all be handled. Thanks!

from golang_loader_assist.

Related Issues (6)

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.