Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(8078)

Issue 273200043: i#1823 dr_insert_mbr_instrumentation() of gs: add a flag for meta far disp base instr

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 5 months ago by ampotos
Modified:
8 years, 3 months ago
Reviewers:
zhaoqin, bruening
CC:
dynamorio-devs_googlegroups.com
Visibility:
Public.

Description

Commit log for first patchset: --------------- i#1823 dr_insert_mbr_instrumentation() of gs: add a flag for meta far disp base instr add a flag define only on unix for meta isntruction who need segment mangling and use set it on dr_insert_mbr_instrumentation when the source opnd is a far base disp opnd to fix #1823 Fixes #1823 ---------------

Patch Set 1 #

Patch Set 2 : remove new flag, mangling directly in dr_insert_mbr_instrumentation #

Patch Set 3 : fix 2 typos #

Total comments: 6

Patch Set 4 : Add test, and asked fix #

Total comments: 22

Patch Set 5 : Fix the style errors #

Total comments: 10

Patch Set 6 : Committed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+278 lines, -10 lines) Patch
M core/arch/arch.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M core/arch/x86/mangle.c View 1 2 1 chunk +1 line, -1 line 0 comments Download
M core/lib/instrument.c View 1 2 3 4 5 4 chunks +27 lines, -9 lines 0 comments Download
M suite/tests/CMakeLists.txt View 1 2 3 4 5 1 chunk +7 lines, -0 lines 0 comments Download
A suite/tests/client-interface/mbr_instrumentation_segment.c View 1 2 3 4 5 1 chunk +137 lines, -0 lines 0 comments Download
A suite/tests/client-interface/mbr_instrumentation_segment.expect View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A suite/tests/client-interface/mbr_instrumentation_segment.dll.c View 1 2 3 4 5 1 chunk +98 lines, -0 lines 0 comments Download

Messages

Total messages: 28
ampotos
8 years, 5 months ago (2015-11-06 07:01:24 UTC) #1
zhaoqin
Sorry for the late review, I thought we decide to do the mangle directly instead ...
8 years, 5 months ago (2015-11-13 16:08:39 UTC) #2
ampotos
On 2015/11/13 16:08:39, zhaoqin wrote: > Sorry for the late review, I thought we decide ...
8 years, 5 months ago (2015-11-13 17:13:38 UTC) #3
zhaoqin
On 2015/11/13 17:13:38, ampotos wrote: > On 2015/11/13 16:08:39, zhaoqin wrote: > > Sorry for ...
8 years, 5 months ago (2015-11-13 17:48:22 UTC) #4
ampotos
On 2015/11/13 17:48:22, zhaoqin wrote: > On 2015/11/13 17:13:38, ampotos wrote: > > On 2015/11/13 ...
8 years, 5 months ago (2015-11-13 18:00:05 UTC) #5
ampotos
Commit log for latest patchset: --------------- i#1823 dr_insert_mbr_instrumentation() of gs: add mangling of gs segment ...
8 years, 5 months ago (2015-11-15 21:53:39 UTC) #6
ampotos
Commit log for latest patchset: --------------- i#1823 dr_insert_mbr_instrumentation() of gs: add mangling of gs segment ...
8 years, 5 months ago (2015-11-15 22:06:47 UTC) #7
zhaoqin
A few issues need to be fixed, also it would be nice to add a ...
8 years, 5 months ago (2015-11-15 23:25:49 UTC) #8
ampotos
On 2015/11/15 23:25:49, zhaoqin wrote: > A few issues need to be fixed, also it ...
8 years, 5 months ago (2015-11-16 11:45:47 UTC) #9
ampotos
On 2015/11/16 11:45:47, ampotos wrote: > On 2015/11/15 23:25:49, zhaoqin wrote: > > A few ...
8 years, 5 months ago (2015-11-16 14:33:40 UTC) #10
zhaoqin
On 2015/11/16 11:45:47, ampotos wrote: > On 2015/11/15 23:25:49, zhaoqin wrote: > > A few ...
8 years, 5 months ago (2015-11-16 15:22:10 UTC) #11
zhaoqin
On 2015/11/16 14:33:40, ampotos wrote: > On 2015/11/16 11:45:47, ampotos wrote: > > On 2015/11/15 ...
8 years, 5 months ago (2015-11-16 15:24:54 UTC) #12
bruening
https://codereview.appspot.com/273200043/diff/40001/core/lib/instrument.c File core/lib/instrument.c (right): https://codereview.appspot.com/273200043/diff/40001/core/lib/instrument.c#newcode5795 core/lib/instrument.c:5795: src = mangle_seg_ref_opnd(dcontext, ilist, instr, src, reg_target); What is ...
8 years, 5 months ago (2015-11-18 14:41:48 UTC) #13
ampotos
On 2015/11/18 14:41:48, bruening wrote: > https://codereview.appspot.com/273200043/diff/40001/core/lib/instrument.c > File core/lib/instrument.c (right): > > https://codereview.appspot.com/273200043/diff/40001/core/lib/instrument.c#newcode5795 > ...
8 years, 5 months ago (2015-11-18 20:18:50 UTC) #14
ampotos
On 2015/11/18 20:18:50, ampotos wrote: > On 2015/11/18 14:41:48, bruening wrote: > > https://codereview.appspot.com/273200043/diff/40001/core/lib/instrument.c > ...
8 years, 4 months ago (2015-12-01 14:23:26 UTC) #15
zhaoqin
On 2015/12/01 14:23:26, ampotos wrote: > On 2015/11/18 20:18:50, ampotos wrote: > > On 2015/11/18 ...
8 years, 4 months ago (2015-12-01 17:32:57 UTC) #16
ampotos
Commit log for latest patchset: --------------- i#1823 dr_insert_mbr_instrumentation() of gs: remove "opnd_get_segment(src) == DR_SEG_GS" because ...
8 years, 4 months ago (2015-12-02 16:12:25 UTC) #17
zhaoqin
a lot of style problems to be fixed. https://codereview.appspot.com/273200043/diff/60001/core/arch/arch.h File core/arch/arch.h (right): https://codereview.appspot.com/273200043/diff/60001/core/arch/arch.h#newcode540 core/arch/arch.h:540: #ifdef ...
8 years, 4 months ago (2015-12-04 20:41:43 UTC) #18
ampotos
Commit log for latest patchset: --------------- i#1823 dr_insert_mbr_instrumentation() of gs Add segment mangling on mbr_instrumentation ...
8 years, 4 months ago (2015-12-07 16:34:09 UTC) #19
ampotos
On 2015/12/07 16:34:09, ampotos wrote: > Commit log for latest patchset: > --------------- > i#1823 ...
8 years, 4 months ago (2015-12-07 16:36:13 UTC) #20
zhaoqin
a few more style problems, but I do not think we need another round of ...
8 years, 4 months ago (2015-12-10 21:21:21 UTC) #21
bruening
On 2015/12/07 16:34:09, ampotos wrote: > Fixes #1823 We split the general issue into #1834, ...
8 years, 4 months ago (2015-12-10 23:03:12 UTC) #22
ampotos
Committed as https://github.com/DynamoRIO/dynamorio/commit/b4cf375c45faa4b33fbdf0fc5414f5019de7f46c Final commit log: --------------- i#1823 dr_insert_mbr_instrumentation() of gs Add segment mangling on ...
8 years, 4 months ago (2015-12-28 21:47:44 UTC) #23
ampotos
On 2015/12/28 21:47:44, ampotos wrote: > Committed as > https://github.com/DynamoRIO/dynamorio/commit/b4cf375c45faa4b33fbdf0fc5414f5019de7f46c > > Final commit log: ...
8 years, 3 months ago (2016-01-03 14:25:47 UTC) #24
zhaoqin
I just added ampotos in the repository, please try again if you can commit the ...
8 years, 3 months ago (2016-01-04 17:40:22 UTC) #25
ampotos
On 2016/01/04 17:40:22, zhaoqin wrote: > I just added ampotos in the repository, please try ...
8 years, 3 months ago (2016-01-04 18:20:07 UTC) #26
bruening
This broke the Mac build: debug-internal-32: **** 4 build errors **** /.../dynamorio/suite/tests/client-interface/mbr_instrumentation_segment.c:36:11: fatal error: 'linux/unistd.h' ...
8 years, 3 months ago (2016-01-08 21:42:21 UTC) #27
bruening
8 years, 3 months ago (2016-01-08 21:56:21 UTC) #28
Also, there are numerous style violations (indentation is off in both the
cmake and C files).

On Fri, Jan 8, 2016 at 4:42 PM, Derek Bruening <bruening@google.com> wrote:

> This broke the Mac build:
>
> debug-internal-32: **** 4 build errors ****
>
/.../dynamorio/suite/tests/client-interface/mbr_instrumentation_segment.c:36:11:
> fatal error: 'linux/unistd.h' file not found
>
>
> On Mon, Jan 4, 2016 at 1:20 PM, <ampotos@gmail.com> wrote:
>
>> On 2016/01/04 17:40:22, zhaoqin wrote:
>>
>>> I just added ampotos in the repository, please try again if you can
>>>
>> commit
>>
>>> the CL.
>>>
>>
>> On Sun, Jan 3, 2016 at 9:25 AM, <mailto:ampotos@gmail.com> wrote:
>>>
>>
>> > On 2015/12/28 21:47:44, ampotos wrote:
>>> >
>>> >> Committed as
>>> >>
>>> >
>>> >
>>> >
>>>
>>
>>
>>
https://github.com/DynamoRIO/dynamorio/commit/b4cf375c45faa4b33fbdf0fc5414f50...
>>
>>> >
>>> > Final commit log:
>>> >> ---------------
>>> >> i#1823 dr_insert_mbr_instrumentation() of gs
>>> >>
>>> >
>>> > Add segment mangling on mbr_instrumentation for gs and fs.
>>> >>
>>> >
>>> > Fixes #1823
>>> >> ---------------
>>> >>
>>> >
>>> > I think there was a problem with the commit, I didn't have commit
>>>
>> access
>>
>>> > on the repot when I used dcommit.
>>> >
>>> > https://codereview.appspot.com/273200043/
>>> >
>>>
>>
>> It's commit.
>>
>> https://codereview.appspot.com/273200043/
>>
>
>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b