www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Wed, 03 Jul 2002 14:37:56 -0400 |
From: | Jason Tishler <jason AT tishler DOT net> |
Subject: | rebase tool enhancements |
To: | Cygwin <cygwin AT cygwin DOT com> |
Mail-followup-to: | Cygwin <cygwin AT cygwin DOT com> |
Message-id: | <20020703183756.GJ1776@tishler.net> |
MIME-version: | 1.0 |
User-Agent: | Mutt/1.4i |
I have just uploaded the latest version, 1.18, of my rebase tool: http://www.tishler.net/jason/software/rebase/rebase.exe http://www.tishler.net/jason/software/rebase/rebase-1.18-1.tar.bz2 The changes since 1.5 (in order of perceived importance) are as follows: o add skipping of image files corrupted by ReBaseImage() o add skipping of unrebaseable arguments o add continue to rebase even if an argument generates (non-fatal) errors o change ReBaseImage() call so that SymbolPath equals "" instead of 0 o add verbose option (and default to quiet) o add version option The good news is that rebasing just got easier: C:> cd C:\Cygwin C:> rebase -v -b 0x68000000 -d cygXpm-X4.dll cygXpm-noX4.dll ... The above will rebase all DLLs in /usr/bin skipping unrebaseable and ReBaseImage() corruptible DLLs. One should explicitly skip cygwin1.dll since it is not recommended to rebase it (although this seems to be OK). The bad news is that rebase is slower because I'm making a copy of the DLLs before rebasing to guard against ReBaseImage() induced corruption. Additionally, since I'm using tempnam(), the permissions of the DLLs can change during the rebase operation. If anyone has a better way to make a temporary copy that maintains permissions, then please let me know. Note that I have already tried chmod() to restore permissions but was unsuccessful. Thanks, Jason -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |