Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pengjianzhang/libinst

龙芯平台上的插桩框架
https://github.com/pengjianzhang/libinst

Last synced: 2 days ago
JSON representation

龙芯平台上的插桩框架

Awesome Lists containing this project

README

        

# libinst
龙芯平台上的插桩框架
libinsn-1.0

2010.3.23
peng jianzhang
[email protected]
=============
Usage:
1, include insn.h

2, use pjz_before_main, pjz_after_main function

3, compile: gcc -static libinsn.a your_file.c
NOTICE: -static is a must

4, run: ./insn.sh ./a.out argv1 argv2 argv3 ...
NOTICE: the argument passed to insn.sh shoued be the same as command line executeing the program in shell

5, the instructions information is in file instrutions.txt,which is generated by step 4