OS/2 API Call Analyzer: Difference between revisions

From OS2World.Com Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Analyzes and reports the OS/2 APIs called and/or not called and/or the minimum OS/2 version required by one or more 16-bit or 32-bit executable files without requiring their source code.


Analyzes and reports the OS/2 APIs called and/or not called and/or the  minimum OS/2  version required  by one  or more 16-bit or 32-bit executable  files without  requiring their source code.
Analyzes and reports the OS/2 APIs called and/or not called and/or the  minimum OS/2  version required  by one  or more 16-bit or 32-bit executable  files without  requiring their source code.

Revision as of 15:18, 30 January 2026

Analyzes and reports the OS/2 APIs called and/or not called and/or the minimum OS/2 version required by one or more 16-bit or 32-bit executable files without requiring their source code.

This feat is accomplished by processing each fixup record within the executable file(s), because every function call external to the executable(s) will have a corresponding import fixup record. Whenever an import by ordinal or import by name fixup record is encountered, it is dissected to determine which export is being imported from which DLL. If it is an import from one of the supported OS/2 DLLs and the user requested statistics on the DLL, the count of references is incremented and the required OS/2 version updated appropriately. When finished, the requested statistics are displayed to standard output.

By Dave Blaschke

[1]