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

Issue 60070045: code review 60070045: ogle/probe: start of package (Closed)

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

Description

ogle/probe: start of package Implement functions to test validity of addresses for read and write. Needs some very hacky assembly support; provide this for amd64 only, darwin and linux only.

Patch Set 1 #

Total comments: 7

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+300 lines, -0 lines) Patch
A probe/addr_test.go View 1 1 chunk +123 lines, -0 lines 0 comments Download
A probe/probe.go View 1 1 chunk +52 lines, -0 lines 0 comments Download
A probe/probe_darwin_amd64.s View 1 2 1 chunk +62 lines, -0 lines 0 comments Download
A probe/probe_linux_amd64.s View 1 1 chunk +63 lines, -0 lines 0 comments Download

Messages

Total messages: 6
r
Hello nigeltao, I'd like you to review this change to https://code.google.com/p/ogle
10 years, 2 months ago (2014-02-06 01:00:25 UTC) #1
nigeltao
LGTM. https://codereview.appspot.com/60070045/diff/1/probe/addr_test.go File probe/addr_test.go (right): https://codereview.appspot.com/60070045/diff/1/probe/addr_test.go#newcode33 probe/addr_test.go:33: } Add "heapUsed() - 1"? https://codereview.appspot.com/60070045/diff/1/probe/addr_test.go#newcode46 probe/addr_test.go:46: 1<<64 ...
10 years, 2 months ago (2014-02-06 04:33:25 UTC) #2
r
No, main is not guaranteed to be first but i don't have a better idea ...
10 years, 2 months ago (2014-02-06 06:18:50 UTC) #3
r
*** Submitted as https://code.google.com/p/ogle/source/detail?r=491eb7565e88 *** ogle/probe: start of package Implement functions to test validity of ...
10 years, 2 months ago (2014-02-06 19:09:41 UTC) #4
nigeltao
On Thu, Feb 6, 2014 at 5:18 PM, Rob Pike <r@golang.org> wrote: > No, main ...
10 years, 2 months ago (2014-02-06 22:53:48 UTC) #5
nigeltao
10 years, 2 months ago (2014-02-06 22:57:04 UTC) #6
On Fri, Feb 7, 2014 at 9:53 AM, Nigel Tao <nigeltao@golang.org> wrote:
> Well, if it's our linker, I suspect that base will effectively always
> be 0x400000 on linux. We could hard-code that.

Never mind, I see you've already done:
#define INITTEXT ((1<<22)+ELFRESERVE)
Sign in to reply to this message.

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