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

Issue 310850043: i#1569 AArch64: Fix drx_buf on AArch64. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
7 years, 7 months ago by Edmund.Grimley.Evans
Modified:
7 years, 6 months ago
Reviewers:
zhaoqin
CC:
dynamorio-devs_googlegroups.com
Visibility:
Public.

Description

Commit log for first patchset: --------------- i#1569 AArch64: Fix drx_buf on AArch64. New macros in instr_create.h, make insert_parameter_preparation accept 32-bit arguments, and adapt drx_buf implementation and test program. ---------------

Patch Set 1 #

Total comments: 9

Patch Set 2 : OPSZ_PTR #

Total comments: 4

Patch Set 3 : opnd_get_immed_int #

Patch Set 4 : Committed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -52 lines) Patch
M core/arch/aarch64/instr_create.h View 1 2 3 4 chunks +10 lines, -4 lines 0 comments Download
M core/arch/aarchxx/mangle.c View 1 chunk +4 lines, -4 lines 0 comments Download
M core/arch/asm_defines.asm View 1 chunk +5 lines, -0 lines 0 comments Download
M ext/drx/drx_buf.c View 1 2 8 chunks +30 lines, -17 lines 0 comments Download
M suite/tests/CMakeLists.txt View 1 2 3 1 chunk +8 lines, -10 lines 0 comments Download
M suite/tests/client-interface/drx_buf-test.c View 2 chunks +18 lines, -14 lines 0 comments Download
M suite/tests/client-interface/drx_buf-test-shared.h View 1 chunk +14 lines, -2 lines 0 comments Download
M suite/tests/client-interface/drx_buf-test.dll.c View 1 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 12
Edmund.Grimley.Evans
7 years, 7 months ago (2016-09-15 10:47:09 UTC) #1
zhaoqin
bug on arg passed to reg_resize_to_opsz. https://codereview.appspot.com/310850043/diff/1/core/arch/aarch64/instr_create.h File core/arch/aarch64/instr_create.h (right): https://codereview.appspot.com/310850043/diff/1/core/arch/aarch64/instr_create.h#newcode97 core/arch/aarch64/instr_create.h:97: #define XINST_CREATE_store(dc, m, ...
7 years, 7 months ago (2016-09-22 18:23:40 UTC) #2
Edmund.Grimley.Evans
https://codereview.appspot.com/310850043/diff/1/core/arch/aarch64/instr_create.h File core/arch/aarch64/instr_create.h (right): https://codereview.appspot.com/310850043/diff/1/core/arch/aarch64/instr_create.h#newcode97 core/arch/aarch64/instr_create.h:97: #define XINST_CREATE_store(dc, m, r) INSTR_CREATE_str(dc, m, \ On 2016/09/22 ...
7 years, 7 months ago (2016-09-22 18:42:31 UTC) #3
zhaoqin
https://codereview.appspot.com/310850043/diff/1/core/arch/aarch64/instr_create.h File core/arch/aarch64/instr_create.h (right): https://codereview.appspot.com/310850043/diff/1/core/arch/aarch64/instr_create.h#newcode297 core/arch/aarch64/instr_create.h:297: instr_create_1dst_1src((dc), OP_strb, mem, rt) On 2016/09/22 18:42:30, Edmund.Grimley.Evans wrote: ...
7 years, 7 months ago (2016-09-22 18:52:03 UTC) #4
Edmund.Grimley.Evans
https://codereview.appspot.com/310850043/diff/1/suite/tests/client-interface/drx_buf-test.dll.c File suite/tests/client-interface/drx_buf-test.dll.c (right): https://codereview.appspot.com/310850043/diff/1/suite/tests/client-interface/drx_buf-test.dll.c#newcode325 suite/tests/client-interface/drx_buf-test.dll.c:325: scratch = reg_resize_to_opsz(scratch, OPSZ_8); On 2016/09/22 18:52:03, zhaoqin wrote: ...
7 years, 7 months ago (2016-09-22 19:02:04 UTC) #5
Edmund.Grimley.Evans
Commit log for latest patchset: --------------- i#1569 AArch64: Fix drx_buf on AArch64. New macros in ...
7 years, 7 months ago (2016-09-23 10:33:35 UTC) #6
zhaoqin
need some clarification. https://codereview.appspot.com/310850043/diff/20001/ext/drx/drx_buf.c File ext/drx/drx_buf.c (right): https://codereview.appspot.com/310850043/diff/20001/ext/drx/drx_buf.c#newcode549 ext/drx/drx_buf.c:549: instrlist_insert_mov_immed_ptrsz(drcontext, 0x48474645, 0x48474645? Shouldn't this be ...
7 years, 7 months ago (2016-09-26 19:37:34 UTC) #7
Edmund.Grimley.Evans
https://codereview.appspot.com/310850043/diff/20001/ext/drx/drx_buf.c File ext/drx/drx_buf.c (right): https://codereview.appspot.com/310850043/diff/20001/ext/drx/drx_buf.c#newcode549 ext/drx/drx_buf.c:549: instrlist_insert_mov_immed_ptrsz(drcontext, 0x48474645, On 2016/09/26 19:37:34, zhaoqin wrote: > 0x48474645? ...
7 years, 7 months ago (2016-09-26 20:38:08 UTC) #8
Edmund.Grimley.Evans
Commit log for latest patchset: --------------- i#1569 AArch64: Fix drx_buf on AArch64. New macros in ...
7 years, 7 months ago (2016-09-27 08:09:38 UTC) #9
zhaoqin
On 2016/09/26 20:38:08, Edmund.Grimley.Evans wrote: > https://codereview.appspot.com/310850043/diff/20001/ext/drx/drx_buf.c > File ext/drx/drx_buf.c (right): > > https://codereview.appspot.com/310850043/diff/20001/ext/drx/drx_buf.c#newcode549 > ...
7 years, 7 months ago (2016-09-30 15:56:08 UTC) #10
zhaoqin
LGTM
7 years, 7 months ago (2016-09-30 15:56:15 UTC) #11
Edmund.Grimley.Evans
7 years, 6 months ago (2016-10-03 08:50:20 UTC) #12
Committed as
https://github.com/DynamoRIO/dynamorio/commit/de022285fbf16f6c6bbd3b4aac49c44...

Final commit log: 
---------------
i#1569 AArch64: Fix drx_buf on AArch64.

New macros in instr_create.h, make insert_parameter_preparation accept
32-bit arguments, and adapt drx_buf implementation and test program.

Review-URL: https://codereview.appspot.com/310850043
---------------
Sign in to reply to this message.

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