2023-01-15 21:50:41 +00:00
OS X:
2022-10-19 20:16:13 +00:00
~/bin/mwccppc -c -g -opt l=4,noschedule,speed -enum min -Iincludes -Isdk_hdrs -w all,nounused -wchar_t on -bool off -Cpp_exceptions off
2023-01-15 21:50:41 +00:00
OS 9:
export MWCIncludes="/Users/ash/src/mwcc/native_copy/msl_c_pro7/MSL_Common/Include;/Users/ash/src/mwcc/native_copy/msl_c_pro7/MSL_MacOS/Include"
wine ../reversing/v7_0_mwcppc.exe -g -opt l=4,speed -enum min -Iincludes -Isdk_hdrs -w all,nounused,notinlined -wchar_t on -bool off -Cpp_exceptions off -maxwarnings 10
2023-01-10 11:05:21 +00:00
TODO:
- locate COS stuff based off EPPC 8 debug info
- command_line/C++_Parser/Src/Library/OptimizerHelpers.c
- compiler_and_linker/CmdLine_Tools/Embedded_PPC/Tools_EPPC/Src/Options/Glue/TargetOptimizerHelpers-eppc.c
- compiler_and_linker/FrontEnd/Common/COSToolsMemory.h
- compiler_and_linker/FrontEnd/Common/COSToolsFileSpecs.h
- compiler_and_linker/FrontEnd/Common/COSToolsWin32.c
also worth checking ~/s/mwcc/reversing/ftp_backup/Metrowerks/CWPPC6/ext_65/Disk1/PPC_EABI_Tools-CLT/mwcceppc.exe strings
2022-10-14 22:15:32 +00:00
* - has issues
2022-10-19 20:16:13 +00:00
[CL / command_line]
DONE command_line/CmdLine/Src/Clients/CLStaticMain.c
DONE command_line/CmdLine/Src/Clients/ClientGlue.c
DONE command_line/CmdLine/Src/CLMain.c
DONE* command_line/CmdLine/Src/MacEmul/Resources.c
DONE command_line/CmdLine/Src/Envir/CLErrors.c
DONE* command_line/CmdLine/Src/MacEmul/ResourceStrings.c
DONE* command_line/CmdLine/Src/Plugins/CLPlugins.c
DONE command_line/CmdLine/Src/Callbacks/CLParserCallbacks_v1.cpp
DONE command_line/CmdLine/Src/Envir/CLIO.c
DONE command_line/CmdLine/Src/CLToolExec.c
DONE command_line/CmdLine/Src/OSLib/Posix.c
DONE command_line/CmdLine/Src/OSLib/StringExtras.c
DONE command_line/CmdLine/Src/OSLib/Generic.c
DONE command_line/CmdLine/Src/Project/CLProj.c
DONE command_line/CmdLine/Src/CLLicenses.c
DONE command_line/CmdLine/Src/OSLib/MemUtils.c
DONE command_line/CmdLine/Src/CLPluginRequests.cpp
DONE command_line/CmdLine/Src/MacEmul/LowMem.c
DONE command_line/CmdLine/Src/CLFileOps.c
DONE command_line/CmdLine/Src/CLPrefs.c
DONE command_line/CmdLine/Src/CLTarg.c
DONE command_line/CmdLine/Src/Project/CLAccessPaths.c
DONE command_line/CmdLine/Src/OSLib/MacSpecs.c
DONE command_line/CmdLine/Src/OSLib/StringUtils.c
DONE command_line/CmdLine/Src/MacEmul/Memory.c
DONE command_line/CmdLine/Src/MacEmul/Files.c
DONE command_line/CmdLine/Src/MacEmul/TextUtils.c
DONE ?? AddFileTypeMappingList, SetMacFileType, ...
DONE command_line/CmdLine/Src/Project/CLFiles.c
DONE command_line/CmdLine/Src/Project/CLOverlays.c
DONE command_line/CmdLine/Src/Project/CLSegs.c
DONE* command_line/CmdLine/Src/Callbacks/CLDropinCallbacks_V10.cpp
DONE command_line/CmdLine/Src/OSLib/MacFileTypes.c
DONE command_line/CmdLine/Src/OSLib/FileHandles.c
DONE command_line/CmdLine/Src/Callbacks/CLCompilerLinkerDropin_V10.cpp
DONE* command_line/CmdLine/Src/CLDependencies.c
DONE command_line/CmdLine/Src/CLWriteObjectFile.c
DONE* command_line/CmdLine/Src/CLBrowser.c
DONE command_line/CmdLine/Src/CLIncludeFileCache.c
DONE command_line/CmdLine/Src/CLLoadAndCache.c
DONE command_line/CmdLine/Src/MacEmul/ErrMgr.c
DONE compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Static/cc-mach-ppc-mw.c
---- compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Options/Glue/ParserGlue-mach-ppc-cc.c
2022-10-14 22:15:32 +00:00
(Includes RegisterStaticParserToolInfo and all the option lists)
2022-10-19 20:16:13 +00:00
DONE compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/cc-mach-ppc.o
2022-10-14 22:15:32 +00:00
(Includes RegisterStaticCompilerPlugin, RegisterCompilerResources)
2022-10-19 20:16:13 +00:00
DONE compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/libimp-mach-ppc.c
2022-10-14 22:15:32 +00:00
(Includes RegisterStaticLibImporterPlugin, RegisterLibImporterResources)
2022-10-19 20:16:13 +00:00
2CHK TargetOptimizer-ppc-mach.c
2022-10-14 22:15:32 +00:00
---- OptimizerHelpers.c
---- ?? TargetSetWarningFlags, TargetDisplayWarningOptions
---- WarningHelpers.c
2022-11-07 03:06:21 +00:00
DONE CCompiler.c
2023-01-10 11:05:21 +00:00
99% CParser.c
2022-10-25 19:30:28 +00:00
DONE compiler_and_linker/FrontEnd/Common/CompilerTools.c (except for endian work)
2023-01-10 11:05:21 +00:00
DONE CodeGenOptPPC.c
99% IrOptimizer.c
90% CodeGen.c
2023-01-13 01:38:03 +00:00
90%~ CPrep.c
98% CScope.c
99% CMachine.c
2023-01-10 11:05:21 +00:00
DONE CExpr.c
90% CFunc.c
2022-12-29 12:32:55 +00:00
99% CTemplateNew.c
2023-01-10 11:05:21 +00:00
DONE CError.c
2022-12-29 12:32:55 +00:00
95% ObjGenMachO.c
2023-01-10 11:05:21 +00:00
85% CDecl.c
2022-11-07 03:06:21 +00:00
DONE CMangler.c
2022-12-29 12:32:55 +00:00
99% CSOM.c
2023-01-10 11:05:21 +00:00
95% CABI.c
97% CInit.c
95% CClass.c
2022-12-29 12:32:55 +00:00
DONE CIRTransform.c
99% CObjC.c
97% CInline.c
2023-01-10 11:05:21 +00:00
99% CPrepTokenizer.c
2022-12-29 12:32:55 +00:00
DONE CTemplateTools.c
2023-01-10 11:05:21 +00:00
80% IroPointerAnalysis.c
2023-01-13 01:38:03 +00:00
90% InstrSelection.c
2023-01-10 11:05:21 +00:00
99% IroFlowgraph.c
2022-12-14 00:16:59 +00:00
DONE IroLinearForm.c
2023-01-10 11:05:21 +00:00
99% IroUtil.c
90% IroCSE.c
2022-12-14 00:16:59 +00:00
DONE IroPropagate.c
2023-01-10 11:05:21 +00:00
95% IROUseDef.c
99% InlineAsmPPC.c
2022-12-14 00:16:59 +00:00
99% IroDump.c
2023-01-10 11:05:21 +00:00
DONE IroTransform.c
95% IroVars.c
DONE IroEval.c
2022-12-14 00:16:59 +00:00
DONE IroJump.c
99% IroRangePropagation.c
DONE IroEmptyLoop.c
2023-01-10 11:05:21 +00:00
DONE IroUnrollLoop.c
2022-12-14 00:16:59 +00:00
99% IroLoop.c
90% IroExprRegeneration.c
DONE IroSubable.c
2023-01-10 11:05:21 +00:00
DONE RegisterInfo.c
90% TOC.c
2022-11-07 03:06:21 +00:00
MOST StackFrame.c
2022-12-14 01:00:56 +00:00
DONE Registers.c
2022-11-07 03:06:21 +00:00
DONE PCode.c
2022-12-14 00:16:59 +00:00
95% Switch.c
DONE ValueNumbering.c
2022-11-07 03:06:21 +00:00
DONE PCodeUtilities.c
2023-01-13 01:38:03 +00:00
99% Operands.c
2022-12-29 12:32:55 +00:00
99% Exceptions.c
99% ?? Dumping (DumpIR, DumpExpression, ...)
99% COptimizer.c
DONE GlobalOptimizer.c
2022-12-14 00:16:59 +00:00
DONE PCodeListing.c
2022-12-29 12:32:55 +00:00
99% Peephole.c
2022-12-14 00:16:59 +00:00
DONE Scheduler.c
2022-12-14 01:00:56 +00:00
DONE Coloring.c
2022-12-29 12:32:55 +00:00
90% PCodeAssembly.c
99% Intrinsics.c
2022-11-20 05:07:22 +00:00
DONE PPCError.c
2023-01-10 11:05:21 +00:00
95% CExpr2.c
2022-10-14 22:15:32 +00:00
DONE* CInt64.c
2023-01-10 11:05:21 +00:00
90% CPrec.c
2022-12-29 12:32:55 +00:00
99% CBrowse.c
DONE CPreprocess.c
95%? FuncLevelAsmPPC.c
99% CException.c
99% CTemplateClass.c
95% ScanFloat.c
2023-01-10 11:05:21 +00:00
95% CExprConvMatch.c
2022-12-29 12:32:55 +00:00
98% CRTTI.c
DONE CObjCModern.c
2022-11-20 05:07:22 +00:00
DONE InlineAsm.c
2022-12-29 12:32:55 +00:00
DONE Unmangle.c
99% MachO.c
99% GenStabs.c
DONE CTemplateFunc.c
2022-12-14 00:16:59 +00:00
95% IroMalloc.c
2022-11-07 03:06:21 +00:00
PART PCodeInfo.c
2022-12-29 12:32:55 +00:00
99% StructMoves.c
DONE FunctionCalls.c
2022-11-20 05:07:22 +00:00
DONE IroBitVect.c
2022-12-14 01:00:56 +00:00
99% InlineAsmRegistersPPC.c
2022-11-20 05:07:22 +00:00
DONE InlineAsmMnemonicsPPC.c
DONE InlineAsmRegisters.c
2022-12-14 00:16:59 +00:00
95% Alias.c
99% LoopDetection.c
99% CopyPropagation.c
99% CodeMotion.c
99% StrengthReduction.c
99% LoopOptimization.c
DONE ConstantPropagation.c
DONE AddPropagation.c
99% UseDefChains.c
DONE LoadDeletion.c
DONE VectorArraysToRegs.c
DONE ?? computelivevariables, dead
2023-01-13 01:38:03 +00:00
DONE MachineSimulation604.c (machine604)
DONE MachineSimulation603.c (machine603)
95% MachineSimulationAltiVec.c (machine7450)
DONE MachineSimulation7400.c (machine7400)
DONE MachineSimulation603e.c (machine603e)
DONE MachineSimulation750.c (machine750)
DONE MachineSimulation601.c (machine601)
---- MachineSimulation821.c (machine821)
2022-12-14 00:16:59 +00:00
99% InterferenceGraph.c
99% SpillCode.c
2023-01-10 11:05:21 +00:00
DONE GCCInlineAsm.c
2022-12-14 00:16:59 +00:00
DONE BitVectors.c
2022-10-19 20:16:13 +00:00
[Parser]
2022-10-14 22:15:32 +00:00
DONE (debug) StaticParserGlue.c
DONE (debug) ParserFace.c
DONE* (debug) ParserHelpers.c
DONE* (debug) ToolHelpers.c
DONE (debug) ParserHelpers-cc.c
DONE# (debug) Arguments.c
DONE (debug) ToolHelpers-cc.c
DONE (debug) IO.c
DONE (debug) Projects.c
DONE (debug) Targets.c
2023-01-13 01:38:03 +00:00
DONE (debug) Option.c
2022-10-14 22:15:32 +00:00
DONE (debug) ParserErrors.c
2022-10-19 20:16:13 +00:00
DONE* (debug) Utils.c
2022-10-14 22:15:32 +00:00
DONE# (debug) Parameter.c
DONE# (debug) Help.c
DONE uContext1.cpp
2023-01-10 11:05:21 +00:00
-- command_line\PluginLib\Src\Library\CWPluginsPrivate.cpp
2022-10-14 22:15:32 +00:00
DONE uContextCL.cpp
2023-01-10 11:05:21 +00:00
-- command_line\PluginLib\Src\Library\DropInCompilerLinkerPrivate.cpp
2022-10-14 22:15:32 +00:00
DONE uContextSecret.cpp
2023-01-10 11:05:21 +00:00
-- command_line\PluginLib\Src\Internal\CWSecretPluginCallbacks.cpp
2022-10-19 20:16:13 +00:00
DONE* ?? COS
2022-10-14 22:15:32 +00:00
DONE uContextParser.cpp
2023-01-10 11:05:21 +00:00
-- command_line\PluginLib\Src\Library\CWParserPluginsPrivate.cpp
2022-10-19 20:16:13 +00:00
DONE uLibImporter.c
---- Various MSL objects