Giter Club home page Giter Club logo

Comments (3)

KyleMiles avatar KyleMiles commented on May 24, 2024

Hey Oskar!

Do you have an example? I'm not able to reproduce what you're describing; function symbols with updated names maintain their raw_name fields in my test binaries.

from dwarf_import.

oskarwirga avatar oskarwirga commented on May 24, 2024

I have spent some time delving into the fb build system to see what exactly is happening, but I still don't know exactly why this is happening or if it's even something you can address:

  1. I get the unstripped library and disassemble it in binja
  2. The function at 0xba0 has a name _5
  3. I run the dwarf plugin and now the unmangled name is operator()(class* this)
  4. The underlying "mangled name" is still _5 but running nm or readelf will show the 'true' mangled name as _ZZN8facebook5build13getAndroidSdkEvENK3$_0clEv

If this is not relevant to this plugin feel free to close and dismiss this task. I was thinking this plugin would overwrite the mangled name, but now that I am typing it, that doesn't make sense.

from dwarf_import.

KyleMiles avatar KyleMiles commented on May 24, 2024

That is very strange. If you have a sample you're able to share, I'd be happy to look in to it more.

Are you looking at all the forms of the symbol's name? function.symbol.short_name is usually what get displayed, where as function.symbol.raw_name should be the actual original mangled name. If that's not the case, I suspect it would be a bug in our ELF loader (recently open sourced).

from dwarf_import.

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.