Article View: es.comp.os.linux.programacion
Article #757Re: Hacer programas seguro
From: AnimAlf
Date: Tue, 26 Sep 2006 10:58
Date: Tue, 26 Sep 2006 10:58
49 lines
3009 bytes
3009 bytes
--=-zkKK4X+Ajlf76E3yz2n0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
El dt, 26-09-2006 a las 12:29 +0200, Jos=C3=A9 Luis P=C3=A9rez Diez escribi=
=C3=B3:
> In article <11thh2h68c40qdbk7iifj4g232ko0ln3kh@4ax.com>, Pedro Maicas=20
> wrote:
> > Pero por otro lado para cualquier cosa que vayas a hacer a bajo nivel
> > lo mejor es el C y una vez que aprendes C no se porqu=C3=A9 ser=C3=A1 q=
ue ya
> > no te apetece usar otro lenguaje.
> >
>=20
> Si has de hacer algo a bajo nivel tiras de maquina o ensamblador.
>=20
=C2=BF? No estaba diciendo eso?
http://www.ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html
int main(void){
int foo =3D 10, bar =3D 15;
__asm__ __volatile__("addl %%ebx,%%eax"
:"=3Da"(foo)
:"a"(foo), "b"(bar)
);
printf("foo+bar=3D%d\n", foo);
return 0;
}
--=-zkKK4X+Ajlf76E3yz2n0
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
digitalmente
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iQCVAwUARRkH4h535IyztBIVAQI7rgQAjL3m8csK2mgkrfkbvY0/FK8U67ypjo0M
3GQZR0Mqhknn05Qa+7myIsFNdpgSXyTDaU9ZiicDoW7adOPrwEOPi0WrlUzWzSdC
8/0CGeOuK+zQg6oATjKygnt/3pYVDg5x91NJvG/qrDo96meU4iyA9Cyt9ik+g3+5
O3dA89Vv3O4=
=k9or
-----END PGP SIGNATURE-----
--=-zkKK4X+Ajlf76E3yz2n0--
Technical Details
Message-ID:
<1159268322.5904.19.camel@general.engendro.sytes.net>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!news.motzarella.org!not-for-mailReferences:
<ef40ll$cp42@eui1nw.euskaltel.es> <ef74qs$52q$1@hercules.cohp1> <l10gh2lq1tgctgv37302fv6hq7qj255f23@4ax.com> <87ac4n25zc.fsf@thalassa.informatimago.com> <6bdgh2d029rq4fv7vbistdajqjl7al8v6f@4ax.com> <87y7s7zl14.fsf@thalassa.informatimago.com> <11thh2h68c40qdbk7iifj4g232ko0ln3kh@4ax.com> <VA.00000b29.3282ff82@agujero-negro.escomposlinux.org>Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,17f8d70e3864bb24 X-Google-Attributes: gidf86c8,public X-Google-Language: SPANISH,UTF8 Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.germany.com!news.motzarella.org!not-for-mail From: AnimAlf <AnimAlf@engendro.sytes.net> Newsgroups: es.comp.os.linux.programacion Subject: Re: Hacer programas seguro Date: Tue, 26 Sep 2006 12:58:42 +0200 Organization: Is the truth out there? Lines: 50 Sender: U2FsdGVkX18x3PID1EO7yCwE55t0iQCA4KQpE1V76y3OVij9aWIQScnDJnQG4CRc7FzZQ8/DOBUXmm8R9Sn/LA== Message-ID: <1159268322.5904.19.camel@general.engendro.sytes.net> References: <ef40ll$cp42@eui1nw.euskaltel.es> <ef74qs$52q$1@hercules.cohp1> <l10gh2lq1tgctgv37302fv6hq7qj255f23@4ax.com> <87ac4n25zc.fsf@thalassa.informatimago.com> <6bdgh2d029rq4fv7vbistdajqjl7al8v6f@4ax.com> <87y7s7zl14.fsf@thalassa.informatimago.com> <11thh2h68c40qdbk7iifj4g232ko0ln3kh@4ax.com> <VA.00000b29.3282ff82@agujero-negro.escomposlinux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-zkKK4X+Ajlf76E3yz2n0" X-Trace: U2FsdGVkX1+E6ZDP1NZYkCv2k5aZrRxU7NJav0QbMsx8ZOLoU7Fy9UFTVU7l0tM2IetTaucOk507WDE9fkiRlYnZWJn6uJk8AijKrk0zztTIseejQiPTva0PWnzk+SBcOvSKwA0y//jpR7ORkAmXYYYqSXQxmr0kDjw0Ei9ISPq/kV/I6lteT05KLCSoCaUNfGly+ksnczo= X-Complaints-To: abuse@motzarella.org NNTP-Posting-Date: Tue, 26 Sep 2006 10:58:40 +0000 (UTC) In-Reply-To: <VA.00000b29.3282ff82@agujero-negro.escomposlinux.org> X-Mailer: Evolution 2.6.2