Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030266AbVLFVzP (ORCPT ); Tue, 6 Dec 2005 16:55:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030265AbVLFVzO (ORCPT ); Tue, 6 Dec 2005 16:55:14 -0500 Received: from xproxy.gmail.com ([66.249.82.197]:27243 "EHLO xproxy.gmail.com") by vger.kernel.org with ESMTP id S1030267AbVLFVzN convert rfc822-to-8bit (ORCPT ); Tue, 6 Dec 2005 16:55:13 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OtTOi3FOj9sf9Rtora/4jNhX6agOh49oplRGcc/NbRH62R8U59Wl+lI5Ue7FCH4+LMSxT0mAuugIzOaIGnqhw68bAE8La0zdre0tfYiNQ0uNKuI0OO2OprtMODAgojEjFep7nQljx4fiAKCLg8ybVQmVuWMZeKG6LFqy3/AvULI= Message-ID: <21d7e9970512061355o598dbbfkcd4bfb7140efb69c@mail.gmail.com> Date: Wed, 7 Dec 2005 08:55:12 +1100 From: Dave Airlie To: Alan Cox Subject: Re: Linux in a binary world... a doomsday scenario Cc: Lee Revell , Jeff Garzik , Brian Gerst , Arjan van de Ven , "M." , Andrea Arcangeli , William Lee Irwin III , linux-kernel@vger.kernel.org In-Reply-To: <1133900736.23610.76.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Content-Disposition: inline References: <1133779953.9356.9.camel@laptopd505.fenrus.org> <20051206030828.GA823@opteron.random> <1133869465.4836.11.camel@laptopd505.fenrus.org> <4394ECA7.80808@didntduck.org> <4395E2F4.7000308@pobox.com> <1133897867.29084.14.camel@mindpipe> <4395E962.2060309@pobox.com> <1133898911.29084.25.camel@mindpipe> <1133900736.23610.76.camel@localhost.localdomain> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1250 Lines: 28 > > The risk is that by reading the disassembled binary and rewriting it a > programming might actually be deemed to have copied code if they > accidentally just reproduce the original implementation. > > > Often of course disassembly is the hard way to solve the problem. Firing > up the driver with analyser tools and studying how it works can be far > more informative. With the ATI R3xx work asking the binary driver to > draw a wide range of triangles and monitoring the command queue output > for each request provides very good info, while attempting to deciphers > megabytes of windows 3D driver code, which is likely to contain self > modifying or JIT generated pipelines, is going to be extremely hard > work. > I can pretty much guarantee nobody is stupid enough to even think about attaching a debugger or disassembler to fglrx, doing black-box reverse engineering is sufficent for everything, and as the r300 is derived in many respects from the r200, we have a lot of info from it.. Dave. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/