Comments (12)
So ignoring GCC's advice to add -faligned-new
(which yields the symbol error you pasted) to the Makefile, I used -Wno-aligned-new
to silence the error.
This seems to work, producing a valid Pin 3.7 pintool on Ubuntu 18.04. @computereasy go ahead and try the new Makefile I pushed to the develop branch and see if that works.
That said, I am not sure if this is the proper fix... but it appears to be working :-)
from lighthouse.
Hi, @gaasedelen , I tried a number of Pin implementations, and only the pin-3.0 works...
All the other versions (3.4, 3.6., 3.7) throws the following issue:
➜ CodeCoverage ../../../pin -t obj-intel64/CodeCoverage.so -- ~/work/code/tools/codeCoverage/qs
E: Unable to load /home/wangshua/work/code/pin-3.4-97438-gf90d1f746-gcc-linux/source/tools/CodeCoverage/obj-intel64/CodeCoverage.so: dlopen failed: cannot locate symbol
"_ZnwmSt11align_val_t" referenced by "/home/wangshua/work/code/pin-3.4-97438-gf90d1f746-gcc-linux/source/tools/CodeCoverage/obj-intel64/CodeCoverage.so"...
Any idea on that?
from lighthouse.
Hmm, have you checked the releases page for this repo? It has downloads to versions built for the past few major Pin releases. This includes every release since Pin 3.4.
v0.7 Release -- Pin 3.4, 3.5
v0.8 Release -- Pin 3.6, 3.7
Thanks for the issue. I can improve the language/links in the README's to further clarify this in the next update or hotfix.
from lighthouse.
Hmm... that sounds like it would probably be a separate issue.
I just downloaded the latest Pin (3.7) from Intel, building the coverage pintool in an Ubuntu 16.04 (64bit) VM. Everything appears to be working fine for me -- I cannot reproduce the load failure you pasted. Symbol/export issues most likely stem from either your compiler toolchain or the way you built the pintool.
What OS are you running on your host system?
Did you compile using the instructions in the pintool readme?
What is your system default compiler?
Are you trying to instrument a 32bit or 64bit executable?
from lighthouse.
Thanks for your prompt feedback. I am using Ubuntu 18.04 with gcc 7.3.0. I am trying to instrument 64-bit binaries.
from lighthouse.
So actually the plugin works on another machine of mine, a Ubuntu 14.04 machine with pin 3.0
, and gcc 6.4.0
from lighthouse.
Interesting, thanks for the info. I will get a 18.04 VM setup in the next couple of days and test on that. It's possible our makefile is missing a necessary toggle for newer versions of GCC, not sure.
from lighthouse.
No problem, I will setup a Ubuntu 16.04 machine and hope it would go smoothly.
from lighthouse.
Hello @computereasy,
I am also getting the same error.
Did you solve this error?
/sniper-7.2/sift/recorder/obj-intel64/sift_recorder: dlopen failed: cannot locate symbol "_ZnwmSt11align_val_t"
from lighthouse.
Hello @computereasy,
I am also getting the same error. Did you solve this error? /sniper-7.2/sift/recorder/obj-intel64/sift_recorder: dlopen failed: cannot locate symbol "_ZnwmSt11align_val_t"
hello, i am also get the same error
Did you solve this error?
Thank you all the same!
from lighthouse.
Hi,
Thank you for this excellent tool.
But I am gettiing some peoblem.
dlopen failed: cannot locate symbol "_ZnwmSt11align_val_t"
Do you know how to solve it?
from lighthouse.
@YLSnowy @anishrajghimire @gaasedelen @computereasy @peta909
hello, i am also get the same error
Did you solve this error?
Thank you all the same!
from lighthouse.
Related Issues (20)
- Dynamorio HOT 2
- How to Generate the trace.log in the testcase dir
- 0.9.2 version argument 1 has unexpected type 'float' error HOT 4
- Lighthouse errors on start in Binja 3.0 HOT 1
- windows ida7.5 open linux exe, cannot load lighthouse HOT 1
- Lighthouse cannot parse log files generated by drcov-2 HOT 5
- IDA not responding when loading coverage HOT 1
- PIN don't work with version 3.25 HOT 1
- frida-drcov.py | BAD_COVERAGE_MAPPING HOT 2
- Extremely slow coverage loading HOT 2
- SortOrder Enum for BinaryNinja causes error HOT 2
- Successfully loaded 1 coverage file but ZeroDivisionError: float division by zero in coverage_table.py HOT 2
- python 3.10.10 + IDA7.6 will cause ida to crash HOT 1
- highlight the sequence/order of a function
- Ida pro console command line
- lighthouese doesn't track new thread
- Add flow chart of a function
- Add comments to the pseudocode painted lines
- Issue loading plugin when multiple decompilers are installed.
- AttributeError: type object 'SortOrder' has no attribute 'DescendingOrder' HOT 1
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 lighthouse.