Advanced and improved absolute paths decoding

Mike Frysinger vapier at gentoo.org
Thu Mar 13 22:12:44 UTC 2014


On Thu 13 Mar 2014 09:15:16 enh wrote:

please do not top post

> i'm not sure using numbers rather than strings is a good idea, given
> that Javascript's stupid "everything's a double" belief leaked into
> JSON (and from there into JSON parsers). that's fine for int32_t but
> not int64_t.

yeah, i was debating that part.  i think it depends on the parser.  python 
seems to be sane as it will use int() on every integer rather than float().  
and when they say "int", they mean it in the mathematical sense, not as 
defined by C.

maybe make it into a runtime option specific to that module like --strings-
everywhere.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20140313/1e924f61/attachment.bin>


More information about the Strace-devel mailing list