| Date: | Mon, 20 Aug 2018 00:30:10 -0700 |
|---|---|
| From: | Rohit Poduri <poduri.rohit@xxxxxxxxx> |
| Subject: | [DynInst_API:] Modify architectural registers |
|
I am trying to use dyninst to perform some static instrumentation on some program binaries. I am inserting some snippet codes, which calls some functions from a shared library. These functions have some assembly code to modify the contents of some architectural registers which is later used me for some simulations. However the dyninst code does save/restore of register contents which overwrites the changes made by me. Is there a way to change the contents of the architectural registers using some high level API without modifying the save restore code? If not please advise of I should modify the save/restore code.
Also is there a way to clean/delete the dyninst installation process using any CMAKE commands or other scrips? Thanks, Rohit |
| [← Prev in Thread] | Current Thread | [Next in Thread→] |
|---|---|---|
| ||
| Previous by Date: | [DynInst_API:] [dyninst/dyninst] 21c93a: Should not trigger finalizing during slicing, Xiaozhu Meng |
|---|---|
| Next by Date: | [DynInst_API:] [dyninst/dyninst] 5c0202: 1. The FULL register size must have value 0 due to..., Xiaozhu Meng |
| Previous by Thread: | [DynInst_API:] May 8 deadline: 2018 Scalable Tools Workshop, Barton Miller |
| Next by Thread: | Re: [DynInst_API:] modify register contents in dyninst, Bill Williams |
| Indexes: | [Date] [Thread] |