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

Issue 62000044: code review 62000044: ogle/probe: allow zero-sized reads and writes. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 2 months ago by nigeltao
Modified:
10 years, 2 months ago
Reviewers:
r
CC:
r
Visibility:
Public.

Description

ogle/probe: allow zero-sized reads and writes. Go has zero-sized types, and it would be nice if validRead(&x, sizeof(x)) was true for any legit variable x.

Patch Set 1 #

Patch Set 2 : diff -r 239d84d9b130 https://code.google.com/p/ogle #

Patch Set 3 : diff -r 239d84d9b130 https://code.google.com/p/ogle #

Patch Set 4 : diff -r b3f4d2b8af30 https://code.google.com/p/ogle #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M probe/addr_test.go View 1 2 chunks +2 lines, -0 lines 0 comments Download
M probe/probe.go View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 3
nigeltao
Hello r@golang.org, I'd like you to review this change to https://code.google.com/p/ogle
10 years, 2 months ago (2014-02-12 00:34:02 UTC) #1
r
LGTM
10 years, 2 months ago (2014-02-12 00:37:54 UTC) #2
nigeltao
10 years, 2 months ago (2014-02-12 00:39:43 UTC) #3
*** Submitted as https://code.google.com/p/ogle/source/detail?r=2a09d0b8adf8 ***

ogle/probe: allow zero-sized reads and writes.

Go has zero-sized types, and it would be nice if
validRead(&x, sizeof(x)) was true for any legit variable x.

LGTM=r
R=r
https://codereview.appspot.com/62000044
Sign in to reply to this message.

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