exported / execap

Automatically exported from code.google.com/p/execap
GNU General Public License v3.0
0 stars 0 forks source link

find_exe() will not work on big-endian systems #11

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The code has been written on a x86_64 system.  I don't anticipate any issues 
but please report if the code works on a x86 or PPC system.

Original issue reported on code.google.com by bmenr...@ucsd.edu on 5 Jan 2011 at 12:16

GoogleCodeExporter commented 9 years ago
I just tested it on a 32bit system and it seems to work just fine.

Original comment by bmenr...@ucsd.edu on 20 Feb 2011 at 6:02

GoogleCodeExporter commented 9 years ago
I'm certain the code won't work on big-endian systems because of the find_exe() 
code.  The PE format is designed for little-endian systems and the fields are 
in little-endian byte-order.  Byte-swapping would need to be done on a 
big-endian system.

I'll change this bug from a task to a defect.  I'm hesitant to bother trying to 
fix the problem since I can't test the fix.

Original comment by bmenr...@ucsd.edu on 21 Feb 2011 at 8:53

GoogleCodeExporter commented 9 years ago

Original comment by bmenr...@ucsd.edu on 21 Feb 2011 at 9:04