Il 14/04/2013 23:02, Borislav Petkov ha scritto:
>       *(u16 *)&ctxt->dst.val = swab16((u16)ctxt->src.val);
> 
>       movzwl  112(%rdi), %eax # ctxt_5(D)->src.D.27823.val, tmp82
>       rolw    $8, %ax #, tmp82
>       movw    %ax, 240(%rdi)  # tmp82, MEM[(u16 *)ctxt_5(D) + 240B]

I think this breaks the C aliasing rules.

Using valptr is okay because it is a char.

Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to