Comments (3)
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.
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:
- I get the unstripped library and disassemble it in binja
- The function at 0xba0 has a name
_5
- I run the dwarf plugin and now the unmangled name is
operator()(class* this)
- The underlying "mangled name" is still
_5
but runningnm
orreadelf
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.
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)
- Canabalizes your BV if you run it twice HOT 2
- AttributeError: 'BinjaBridge' object has no attribute '_create_global_component' HOT 1
- Broken on pyelftools 0.27 HOT 3
- `requirements.txt` contains incorrect name for the package `pyelftools`
- dwarf_export HOT 5
- debugging information in separate files
- `AttributeError: 'BinaryReader' object has no attribute 'tell'` HOT 7
- Unable to run on 2.4.3105-dev: Attribute Error HOT 1
- Errors when parsing binary compiled with DWARFv5 HOT 4
- TypeError: BinaryReader.seek() takes 2 positional arguments but 3 were given HOT 5
- AssertionError on a global variable with no type attribute HOT 1
- Feature request: Mach-O support HOT 2
- Feature: dSYM support HOT 1
- remove deprecation warning HOT 1
- Error on processing some linux files for is_valid HOT 1
- Support for pyelftools 0.29 (parsing DWARFv5) HOT 1
- Feature Request: Load DWARF at specific function HOT 1
- AttributeError trying to apply on latest dev
- Change print statement HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dwarf_import.