Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

tiny_tracer

> 编程语言
Open source

A Pin Tool for tracing API calls etc

1.7K stars0 likes0 views
WebsiteGitHub

About

A Pin Tool for tracing API calls etc

tiny_tracer

A Pin Tool for tracing:

  • API calls, including input and output of selected functions
  • defined local functions, and functions from statically linked libraries
  • selected instructions: RDTSC, CPUID, INT
  • inline system calls, including parameters of selected syscalls
  • transition between sections of the traced module (helpful in finding OEP of the packed module)
  • executed instructions in defined code fragments

Evades some of the known anti-debug and anti-VM techniques

Generates a report in a .tag format (which can be loaded into other analysis tools):

txt
RVA;traced event

i.e.

txt
345c2;section: .text
58069;called: C:\Windows\SysWOW64\kernel32.dll.IsProcessorFeaturePresent
3976d;called: C:\Windows\SysWOW64\kernel32.dll.LoadLibraryExW
3983c;called: C:\Windows\SysWOW64\kernel32.dll.GetProcAddress
3999d;called: C:\Windows\SysWOW64\KernelBase.dll.InitializeCriticalSectionEx
398ac;called: C:\Windows\SysWOW64\KernelBase.dll.FlsAlloc
3995d;called: C:\Windows\SysWOW64\KernelBase.dll.FlsSetValue
49275;called: C:\Windows\SysWOW64\kernel32.dll.LoadLibraryExW
4934b;called: C:\Windows\SysWOW64\kernel32.dll.GetProcAddress
...

How to build

It was tested with Intel Pin 4.2.

You can build it on Windows or on Linux. Detailed descriptions available here.

If you have any problems with building the project on Windows, you can use the test builds from the AppVeyor server. Select the platform, and then 'Artifacts'. Check the 'Console' output to see what version of Pin is required to use them. Then, follow the installation instructions.

⚙ Usage

Details about the usage you will find on the project's Wiki.

Helpers

For automatic generation of params.txt for API arguments tracing, try IAT-Tracer by YoavLevi

WARNINGS

  • In order for Pin to work correctly, Kernel Debugging must be DISABLED.
  • In install32_64 you can find a utility that checks if Kernel Debugger is disabled (kdb_check.exe, source), and it is used by the Tiny Tracer's .bat scripts. This utility sometimes gets flagged as a malware by Windows Defender (it is a known false positive). If you encounter this issue, you may need to exclude the installation directory from Windows Defender scans.
  • Since the version 3.20 Pin has dropped a support for old versions of Windows. If you need to use the tool on Windows < 8, follow the Legacy Build.

Questions? Ideas? Join Discussions!


Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C++api-tracedbiintel-pintoolsmalware-analysis

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言