public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/4706] New: binary strings
@ 2007-06-27 17:00 fche at redhat dot com
  2007-06-27 19:02 ` [Bug runtime/4706] " hunt at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: fche at redhat dot com @ 2007-06-27 17:00 UTC (permalink / raw)
  To: systemtap

We should consider adopting a binary-safe (length+buffer) representation
of strings.  This would allow copying of binary blobs to/from the kernel,
not just those that happen to exclude \0.

We'd need a family of functions to create/process/print them, and the
tapsets may need to be changed (no more strlcpy -- or perhaps our own
Special Improved replacement, ugh.).

-- 
           Summary: binary strings
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=4706

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug runtime/4706] binary strings
  2007-06-27 17:00 [Bug runtime/4706] New: binary strings fche at redhat dot com
@ 2007-06-27 19:02 ` hunt at redhat dot com
  2007-07-09  1:25 ` fche at redhat dot com
  2008-03-18  2:19 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hunt at redhat dot com @ 2007-06-27 19:02 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From hunt at redhat dot com  2007-06-27 19:02 -------
Yeah, we had these once and there was much complaining about the differing
string representations between runtime and translator. What has changed to make
them more worthwhile now?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4706

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug runtime/4706] binary strings
  2007-06-27 17:00 [Bug runtime/4706] New: binary strings fche at redhat dot com
  2007-06-27 19:02 ` [Bug runtime/4706] " hunt at redhat dot com
@ 2007-07-09  1:25 ` fche at redhat dot com
  2008-03-18  2:19 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2007-07-09  1:25 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2007-07-09 01:25 -------
The basic desire is to be able to manipulate binary data coming out of the
$target pointers.  We might make do with new tapset functions like
kernel_hexstring(address,length) and some new parsing/printing operations,
and leave the plain null-terminated strings alone.  Even though that would
halve the potential length of the binary data, that's not so bad.  Or
maybe permit base64 (more compact but slower to use).

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4706

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug runtime/4706] binary strings
  2007-06-27 17:00 [Bug runtime/4706] New: binary strings fche at redhat dot com
  2007-06-27 19:02 ` [Bug runtime/4706] " hunt at redhat dot com
  2007-07-09  1:25 ` fche at redhat dot com
@ 2008-03-18  2:19 ` fche at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2008-03-18  2:19 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-03-18 02:18 -------
This sounds less and less useful with recent developments such as printf ("%*m",
...)

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


http://sourceware.org/bugzilla/show_bug.cgi?id=4706

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-18  2:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-27 17:00 [Bug runtime/4706] New: binary strings fche at redhat dot com
2007-06-27 19:02 ` [Bug runtime/4706] " hunt at redhat dot com
2007-07-09  1:25 ` fche at redhat dot com
2008-03-18  2:19 ` fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).