linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ricardo Nabinger Sanchez <rnsanchez@terra.com.br>
To: linux-assembly@vger.kernel.org
Subject: Re: hello again :D
Date: Sat, 7 Jan 2006 01:17:38 -0200	[thread overview]
Message-ID: <20060107011738.938c4239.rnsanchez@terra.com.br> (raw)
In-Reply-To: <20060107110622.65f5623a.amerei@gmail.com>

Quoting  Niel A <amerei@gmail.com>
Sent on  Sat, 7 Jan 2006 11:06:22 +0000

> _start:
>         xor ebx, ebx
>         mov byte [t1], 0x90
> 
> t1:     
>         inc ebx	; try to skip this so exit(0) instead of exit(1);

also: this translates into a single byte?  otherwise you'd need to
overwrite whatever bytes this produces.

but again, I believe you cannot modify executable pages (at least not in
such manner) :)

-- 
Ricardo Nabinger Sanchez
GNU/Linux #140696 [http://counter.li.org]
Slackware Linux + FreeBSD

  Left to themselves, things tend to go from bad to worse.

  parent reply	other threads:[~2006-01-07  3:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20060107110622.65f5623a.amerei@gmail.com>
2006-01-07  3:15 ` hello again :D Ricardo Nabinger Sanchez
2006-01-07  3:17 ` Ricardo Nabinger Sanchez [this message]
2006-01-07  3:32 ` Frank Kotler
2006-01-07  3:40 ` joy merwin monteiro
2006-01-07  5:00   ` Frank Kotler
2006-01-07  5:26     ` joy merwin monteiro
2006-01-08  5:17     ` Niel A
2006-01-08  1:41       ` Frank Kotler
     [not found]         ` <47c1bd210601080024rf8ae88ey4d136c08af3943fd@mail.gmail.com>
2006-01-08 14:40           ` Frank Kotler
     [not found]         ` <20060108132150.0c5ea4b4.amerei@gmail.com>
2006-01-08 16:19           ` Frank Kotler
2006-01-12  9:52 ` Hendrik Visage

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

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

  git send-email \
    --in-reply-to=20060107011738.938c4239.rnsanchez@terra.com.br \
    --to=rnsanchez@terra.com.br \
    --cc=linux-assembly@vger.kernel.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.
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 NNTP newsgroup(s).