unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: 24703@debbugs.gnu.org
Subject: bug#24703: Store references in 8-byte chunks in compiled code
Date: Sun, 16 Oct 2016 06:15:04 -0400	[thread overview]
Message-ID: <8760ossiqf.fsf@netris.org> (raw)
In-Reply-To: <87d1j0sl1l.fsf@netris.org> (Mark H. Weaver's message of "Sun, 16 Oct 2016 05:25:10 -0400")

Here's what happens with a variant of 'unixodbc' with one character
removed from its name, to make an odd number of characters.  The last
character 'c' is all by itself.  The chunks of the reference

  /gnu/store/il1bn7n0l4yj3idrii23fhvzg4nn939i-unxodbc-2.3.4/etc

are found in the following order:

1_/gnu/sto
2_________________________________________________________4/et
3_________re/il1bn
4_________________7n0l4yj3
5_________________________idrii23f
6_________________________________hvzg4nn9
7_________________________________________39i-unxo
8_________________________________________________dbc-2.3.
9_____________________________________________________________c

======== /gnu/store/y2dwj5vkbxka7y5rlakprbk4k8vrd5ij-unxodbc-2.3.4/lib/libodbcinst.so.2.0.0
    8238:	48 b8 2f 67 6e 75 2f 	movabs $0x6f74732f756e672f,%rax   ; "/gnu/sto"
    823f:	73 74 6f 
    8242:	c7 05 6c fa 20 00 34 	movl   $0x74652f34,0x20fa6c(%rip) ; "4/et"
    8249:	2f 65 74 
    824c:	c7 05 2e 0a 21 00 01 	movl   $0x1,0x210a2e(%rip)
    8253:	00 00 00 
    8256:	48 89 05 23 fa 20 00 	mov    %rax,0x20fa23(%rip)
    825d:	48 b8 72 65 2f 69 6c 	movabs $0x6e62316c692f6572,%rax   ; "re/il1bn"
    8264:	31 62 6e 
    8267:	48 8d 1d 5a 94 00 00 	lea    0x945a(%rip),%rbx
    826e:	48 89 05 13 fa 20 00 	mov    %rax,0x20fa13(%rip)
    8275:	48 b8 37 6e 30 6c 34 	movabs $0x336a79346c306e37,%rax   ; "7n0l4yj3"
    827c:	79 6a 33 
    827f:	48 89 05 0a fa 20 00 	mov    %rax,0x20fa0a(%rip)
    8286:	48 b8 69 64 72 69 69 	movabs $0x6633326969726469,%rax   ; "idrii23f"
    828d:	32 33 66 
    8290:	48 89 05 01 fa 20 00 	mov    %rax,0x20fa01(%rip)
    8297:	48 b8 68 76 7a 67 34 	movabs $0x396e6e34677a7668,%rax   ; "hvzg4nn9"
    829e:	6e 6e 39 
    82a1:	48 89 05 f8 f9 20 00 	mov    %rax,0x20f9f8(%rip)
    82a8:	48 b8 33 39 69 2d 75 	movabs $0x6f786e752d693933,%rax   ; "39i-unxo"
    82af:	6e 78 6f 
    82b2:	48 89 05 ef f9 20 00 	mov    %rax,0x20f9ef(%rip)
    82b9:	48 b8 64 62 63 2d 32 	movabs $0x2e332e322d636264,%rax   ; "dbc-2.3."
    82c0:	2e 33 2e 
    82c3:	48 89 05 e6 f9 20 00 	mov    %rax,0x20f9e6(%rip)
    82ca:	b8 63 00 00 00       	mov    $0x63,%eax                 ; "c"
    82cf:	66 89 05 e6 f9 20 00 	mov    %ax,0x20f9e6(%rip)

  reply	other threads:[~2016-10-16 10:16 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-16  3:49 bug#24703: fontconfig keeps obfuscated reference to itself, not grafted Mark H Weaver
2016-10-16  4:26 ` Mark H Weaver
2016-10-16  5:00   ` Mark H Weaver
2016-10-16  6:24     ` bug#24703: Store references in 8-byte chunks in compiled code Mark H Weaver
2016-10-16  9:03       ` Mark H Weaver
2016-10-16  9:25       ` Mark H Weaver
2016-10-16 10:15         ` Mark H Weaver [this message]
2016-10-16 19:04         ` Ludovic Courtès
2016-10-17  7:46           ` bug#24703: " Török Edwin
2016-10-17  9:42             ` Mark H Weaver
2016-10-17 12:09             ` Ludovic Courtès
2016-10-18  3:36               ` Mark H Weaver
2016-10-18  8:59                 ` Ludovic Courtès
2016-10-31  6:35                   ` Mark H Weaver
2016-10-31 11:37                     ` Ludovic Courtès
2016-10-24 19:40                 ` Leo Famulari
2016-10-24 20:18                   ` Ludovic Courtès
2016-11-04 23:15                     ` Ludovic Courtès
2016-11-05 18:36                       ` Leo Famulari
2016-11-06 20:58                         ` Ludovic Courtès
2016-11-09 20:40                       ` Ludovic Courtès
2016-11-09 23:16                         ` Leo Famulari
2016-11-10  8:01                           ` Ludovic Courtès
2017-04-02 22:19                             ` Ludovic Courtès
2016-11-11 10:39                         ` Ludovic Courtès
2016-10-19 21:25               ` Török Edwin
2016-10-20 12:25                 ` Ludovic Courtès
2016-10-16 14:42 ` bug#24703: fontconfig keeps obfuscated reference to itself, not grafted Ludovic Courtès
2016-10-16 15:06   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760ossiqf.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=24703@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).