// Byte swap for little-endian ECU return (crc >> 8)
#endif #include "winols_checksum.h" #include <stdint.h> #define PLUGIN_TYPE_CHECKSUM 0x00010001 #define DLL_VERSION 0x0100 Winols Checksum Dll
Most ECUs (Bosch, Delphi) use big-endian for checksums. Intel/Motorola MCUs may differ. Always verify against an original unmodified binary. 6.3 Debugging Use OutputDebugString() from Windows API and monitor with DebugView to trace execution without crashing WinOLS. // Byte swap for little-endian ECU return (crc
EXPORTS GetDllVersion GetPluginType CalculateChecksum 8) #endif #include "winols_checksum.h" #include <
int __stdcall GetDllVersion(void) return DLL_VERSION;