PinTools | Pintool example and PoC for dynamic binary analysis | Reverse Engineering library
kandi X-RAY | PinTools Summary
kandi X-RAY | PinTools Summary
Pintool example and PoC for dynamic binary analysis
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of PinTools
PinTools Key Features
PinTools Examples and Code Snippets
Community Discussions
Trending Discussions on PinTools
QUESTION
I have an example C program test.c
that defines three functions only: main
, fn1
and fn2
:
ANSWER
Answered 2020-May-14 at 23:54is there any way to differentiate these from the other application symbols?
No.
I can't find a way to filter my instrumentation pintool written in C++ to the routines within the .text section that I care about
It's your application. Surely you can either use consistent naming, or collect a list of symbols you care about, and use that.
QUESTION
I'm trying to use Intel Pin for investigating memory activity of an executable. And I tried to use IARG_MEMORYREAD_SIZE
parameter. Here is the source code.
ANSWER
Answered 2019-May-07 at 22:49This might fall under the case where you need to use IARG_MULTI_MEMORYACCESS_EA
(see the documentation).
Basically, according to the XSAVE documentation the number of bytes written to the memory pointed by the instruction is not constant and depends on the following factors:
- The requested-feature bitmap (RFBM)
- The logical-AND of EDX:EAX
- The logical-OR of XCR0 with the IA32_XSS MSR
You can check if you can use IARG_MEMORYREAD_SIZE
(constant memory sized instruction) or not with INS_hasKnownMemorySize
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install PinTools
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page