Comments (2)
I am not sure, I was never able to test it. It appears that it if failing to build the ALFpintool it self. Do you have more error logs?
from aflpin.
I make with the following cmd after del "obj-intel64/AFLpintool.o" that in the c++ build cmd:
c++ -shared -w -Wl,-exported_symbols_list -Wl,/Volumes/Macintosh/Users/riusksk/Reverse-Engineering/pin-3.0-76991-clang-mac/source/include/pin/pintool.exp -stdlib=libstdc++ -o obj-intel64/AFLpintool.dylib -L/Volumes/Macintosh/Users/riusksk/Reverse-Engineering/pin-3.0-76991-clang-mac/intel64/lib -L/Volumes/Macintosh/Users/riusksk/Reverse-Engineering/pin-3.0-76991-clang-mac/intel64/lib-ext -L/Volumes/Macintosh/Users/riusksk/Reverse-Engineering/pin-3.0-76991-clang-mac/intel64/runtime/glibc -L/Volumes/Macintosh/Users/riusksk/Reverse-Engineering/pin-3.0-76991-clang-mac/extras/xed2-intel64/lib -lpin -lxed -lpindwarf
ld: library not found for -lxed
clang: error: linker command failed with exit code 1 (use -v to see invocation)
beacause no such dir "/extras/xed2-intel64/lib", so I modify "/pin-3.0-76991-clang-mac/extras/xed2-intel64/lib" to "/pin-3.0-76991-clang-mac/extras/xed-intel64/lib" and rebuild:
c++ -shared -w -Wl,-exported_symbols_list -Wl,/Volumes/Macintosh/Users/riusksk/Reverse-Engineering/pin-3.0-76991-clang-mac/source/include/pin/pintool.exp -stdlib=libstdc++ -o obj-intel64/AFLpintool.dylib -L/Volumes/Macintosh/Users/riusksk/Reverse-Engineering/pin-3.0-76991-clang-mac/intel64/lib -L/Volumes/Macintosh/Users/riusksk/Reverse-Engineering/pin-3.0-76991-clang-mac/intel64/lib-ext -L/Volumes/Macintosh/Users/riusksk/Reverse-Engineering/pin-3.0-76991-clang-mac/intel64/runtime/glibc -L/Volumes/Macintosh/Users/riusksk/Reverse-Engineering/pin-3.0-76991-clang-mac/extras/xed-intel64/lib -lpin -lxed -lpindwarf
ld: library not found for -lpindwarf
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I found that no libpindwarf in pin 3.0 for mac, and it would build error if you del "-lpindwarf":
c++ -shared -w -Wl,-exported_symbols_list -Wl,/Volumes/Macintosh/Users/riusksk/Reverse-Engineering/pin-3.0-76991-clang-mac/source/include/pin/pintool.exp -stdlib=libstdc++ -o obj-intel64/AFLpintool.dylib -L/Volumes/Macintosh/Users/riusksk/Reverse-Engineering/pin-3.0-76991-clang-mac/intel64/lib -L/Volumes/Macintosh/Users/riusksk/Reverse-Engineering/pin-3.0-76991-clang-mac/intel64/lib-ext -L/Volumes/Macintosh/Users/riusksk/Reverse-Engineering/pin-3.0-76991-clang-mac/intel64/runtime/glibc -L/Volumes/Macintosh/Users/riusksk/Reverse-Engineering/pin-3.0-76991-clang-mac/extras/xed-intel64/lib -lpin -lxed
Undefined symbols for architecture x86_64:
"_OS_DeregisterCurrentThread", referenced from:
LEVEL_PINCLIENT::BsdThreadTerminateProbeMode(void*, unsigned long, unsigned int, unsigned int) in libpin.a(probe_instrument_mac.os)
"_OS_GetKernelRelease", referenced from:
……
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
from aflpin.
Related Issues (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 aflpin.