public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Dharm <mdharm-kernel@one-eyed-alien.net>
To: Gidon <gidon@warpcore.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Kernel GPL Violations and How to Research
Date: Tue, 10 Feb 2004 11:20:07 -0800	[thread overview]
Message-ID: <20040210192007.GA6987@one-eyed-alien.net> (raw)
In-Reply-To: <1076388828.9259.32.camel@CPE-65-26-89-23.kc.rr.com>

[-- Attachment #1: Type: text/plain, Size: 1430 bytes --]

On Mon, Feb 09, 2004 at 10:53:50PM -0600, Gidon wrote:
> So what I am writing to ask, is what is the best way to ascertain
> whether or not a binary (in this case a "kernel image" of this project)
> contains GPL'd code or functions. So far I have found nearly a hundred
> identical (down to formatting specifiers, punctuation, etc.) or nearly
> identical error messages that consistently match areas of Linux i386
> arch specific kernel code or drivers as well as matching function names,
> using the "strings" program on their Kernel image.

Usually for me, the next step is to disassemble their object code for
symbol information using objdump.

You should be able to get some function names, variable names, etc.  from
that -- if those match the kernel code in question, that's about as good a
"smoking gun" as you can expect to find.  'strings' isn't as good for
function names.

As a final level of analysis, you can always look at the compiled binary
code -- if you think they are using a _reasonably_ compatible compiler, you
might actually be able to find long sections of identical or near-identical
assembly (modulo loop unrolling, etc. which you should be able to identify
by hand.)

Matt

-- 
Matthew Dharm                              Home: mdharm-usb@one-eyed-alien.net 
Maintainer, Linux USB Mass Storage Driver

It's monday.  It must be monday.
					-- Greg
User Friendly, 5/4/1998

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-02-10 19:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-10  4:53 Kernel GPL Violations and How to Research Gidon
2004-02-10 19:20 ` Matthew Dharm [this message]
2004-02-10 21:49   ` Gidon
2004-02-10 21:52     ` Matthew Dharm
2004-02-10 22:07       ` Gidon
2004-02-13 19:02 ` Pavel Machek

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=20040210192007.GA6987@one-eyed-alien.net \
    --to=mdharm-kernel@one-eyed-alien.net \
    --cc=gidon@warpcore.org \
    --cc=linux-kernel@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