Closed winterNan closed 3 months ago
Does it happen for other binaries as well or this specific one?
Thanks for the light-speed reply. The problem is the PIN version. I use an intel 13th generation processor. After upgrading PIN to 3.30 everything works.
However there are some modifications to Tracer.cpp as follows:
1, change PIN_LOCK lock to PIN_LOCK _lock. (otherwise there is a name conflicts.) 2, change TraceFile==NULL to TraceFile.fail(). Otherwise gcc complains.
I can make a PR if necessary.
To the question, this only happens to my binary and does not happen to the ls command in the example.
ha interesting ! well yes we're using a super old version because of the bindings with sqlite. Newer Intel PIN versions don't use the common libc anymore and I think you can't tell the tracer to store the trace in a sqlite DB anymore. But maybe latest PIN versions are again different and allow it again. If you've time yes please open a PR and I'll try to test the different tracer options.
you solved it with your PR, thanks!
Hi, Thanks for such a great tool. However I met the following error when I was trying to profile my binary: