Re: PE format conformance issues in rebase.exe results incompatibility with LLVM-lld

2025年08月31日 Thread ASSI via Cygwin
Christian Franke via Cygwin writes:> ASSI via Cygwin wrote:>> ASSI via Cygwin writes:>>> Which program produced this message? Loooking at the sources I think>>> that should have been rebase and not peflags? Can you provide test>>> instructions for building such an executable?>> I could repr

Re: PE format conformance issues in rebase.exe results incompatibility with LLVM-lld

2025年08月31日 Thread Christian Franke via Cygwin
ASSI via Cygwin wrote: ASSI via Cygwin writes: Which program produced this message? Loooking at the sources I think that should have been rebase and not peflags? Can you provide test instructions for building such an executable? I could reproduce it. It seems that the lld linked executable a

Re: PE format conformance issues in rebase.exe results incompatibility with LLVM-lld

2025年08月31日 Thread ASSI via Cygwin
ASSI via Cygwin writes:> Which program produced this message? Loooking at the sources I think> that should have been rebase and not peflags? Can you provide test> instructions for building such an executable? I could reproduce it. It seems that the lld linked executable always has an image c

Re: PE format conformance issues in rebase.exe results incompatibility with LLVM-lld

2025年08月31日 Thread ASSI via Cygwin
Jeremy Drake via Cygwin writes:> There may be another issue because peflags says "checksum update> failed" on a small lld-created exe even when not modifying the binary. WHich program produced this message? Loooking at the sources I think that should have been rebase and not peflags? Can you p

Re: PE format conformance issues in rebase.exe results incompatibility with LLVM-lld

2025年07月21日 Thread Kashiwada Tomohiro via Cygwin
I just found this in my spam folder -- along with two other emails you CCed me on earlier. I'm really sorry for the delay. Apparently, Google thinks, "You can't speak English, so any English emails to you must be spam." 2025年7月18日(金) 9:36 Jeremy Drake :>> On Sat, 7 Jun 2025, kikairoya via Cygwi

Re: PE format conformance issues in rebase.exe results incompatibility with LLVM-lld

2025年07月17日 Thread Jeremy Drake via Cygwin
On Sat, 7 Jun 2025, kikairoya via Cygwin wrote:> Dear Cygwin team,>> I’ve found that rebase.exe makes certain assumptions that do not conform> to the PE specification.>> 1. Incorrect handling of COFF File Header position> When checking the 'Characteristics' field in the COFF File Header,>

PE format conformance issues in rebase.exe results incompatibility with LLVM-lld

2025年06月06日 Thread kikairoya via Cygwin
Dear Cygwin team, I’ve found that rebase.exe makes certain assumptions that do not conform to the PE specification. 1. Incorrect handling of COFF File Header position When checking the 'Characteristics' field in the COFF File Header, rebase.exe assumes this field is always at a fixed offset.