summaryrefslogtreecommitdiff
path: root/notes
blob: 411c041bf552b89776a9502a1e17fd8c6cc4b936 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
~/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

TODO:
- rename LiveInfo to LiveVariables
- 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

* - has issues

[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
      (Includes RegisterStaticParserToolInfo and all the option lists)
DONE  compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/cc-mach-ppc.o
      (Includes RegisterStaticCompilerPlugin, RegisterCompilerResources)
DONE  compiler_and_linker/CmdLine_Tools/MacOS_PPC/Tools_PPC/Src/Plugin/libimp-mach-ppc.c
      (Includes RegisterStaticLibImporterPlugin, RegisterLibImporterResources)
2CHK  TargetOptimizer-ppc-mach.c
----  OptimizerHelpers.c
----  ?? TargetSetWarningFlags, TargetDisplayWarningOptions
----  WarningHelpers.c

DONE  CCompiler.c
99%   CParser.c
DONE  compiler_and_linker/FrontEnd/Common/CompilerTools.c (except for endian work)
DONE  CodeGenOptPPC.c
99%   IrOptimizer.c
90%   CodeGen.c
MOST  CPrep.c
MOST  CScope.c
MOST  CMachine.c
DONE  CExpr.c
90%   CFunc.c
99%   CTemplateNew.c
DONE  CError.c
95%   ObjGenMachO.c
85%   CDecl.c
DONE  CMangler.c
99%   CSOM.c
95%   CABI.c
97%   CInit.c
95%   CClass.c
DONE  CIRTransform.c
99%   CObjC.c
97%   CInline.c
99%   CPrepTokenizer.c
DONE  CTemplateTools.c
80%   IroPointerAnalysis.c
PART  InstrSelection.c
99%   IroFlowgraph.c
DONE  IroLinearForm.c
99%   IroUtil.c
90%   IroCSE.c
DONE  IroPropagate.c
95%   IROUseDef.c
99%   InlineAsmPPC.c
99%   IroDump.c
DONE  IroTransform.c
95%   IroVars.c
DONE  IroEval.c
DONE  IroJump.c
99%   IroRangePropagation.c
DONE  IroEmptyLoop.c
DONE  IroUnrollLoop.c
99%   IroLoop.c
90%   IroExprRegeneration.c
DONE  IroSubable.c
DONE  RegisterInfo.c
90%   TOC.c
MOST  StackFrame.c
DONE  Registers.c
DONE  PCode.c
95%   Switch.c
DONE  ValueNumbering.c
DONE  PCodeUtilities.c
MOST  Operands.c
99%   Exceptions.c
99%   ?? Dumping (DumpIR, DumpExpression, ...)
99%   COptimizer.c
DONE  GlobalOptimizer.c
DONE  PCodeListing.c
99%   Peephole.c
DONE  Scheduler.c
DONE  Coloring.c
90%   PCodeAssembly.c
99%   Intrinsics.c
DONE  PPCError.c
95%   CExpr2.c
DONE* CInt64.c
90%   CPrec.c
99%   CBrowse.c
DONE  CPreprocess.c
95%?  FuncLevelAsmPPC.c
99%   CException.c
99%   CTemplateClass.c
95%   ScanFloat.c
95%   CExprConvMatch.c
98%   CRTTI.c
DONE  CObjCModern.c
DONE  InlineAsm.c
DONE  Unmangle.c
99%   MachO.c
99%   GenStabs.c
DONE  CTemplateFunc.c
95%   IroMalloc.c
PART  PCodeInfo.c
99%   StructMoves.c
DONE  FunctionCalls.c
DONE  IroBitVect.c
99%   InlineAsmRegistersPPC.c
DONE  InlineAsmMnemonicsPPC.c
DONE  InlineAsmRegisters.c
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
----  MachineSimulation604.c
----  MachineSimulation603.e
----  MachineSimulationAltiVec.c
----  MachineSimulation7500.c
----  MachineSimulation603e.c
----  MachineSimulation750.c
----  MachineSimulation601.c
----  MachineSimulation821.c
99%   InterferenceGraph.c
99%   SpillCode.c
DONE  GCCInlineAsm.c
DONE  BitVectors.c

[Parser]
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
DONE# (debug) Option.c
DONE  (debug) ParserErrors.c
DONE* (debug) Utils.c
DONE# (debug) Parameter.c
DONE# (debug) Help.c
DONE  uContext1.cpp
 -- command_line\PluginLib\Src\Library\CWPluginsPrivate.cpp
DONE  uContextCL.cpp
 -- command_line\PluginLib\Src\Library\DropInCompilerLinkerPrivate.cpp
DONE  uContextSecret.cpp
 -- command_line\PluginLib\Src\Internal\CWSecretPluginCallbacks.cpp
DONE* ?? COS
DONE  uContextParser.cpp
 -- command_line\PluginLib\Src\Library\CWParserPluginsPrivate.cpp
DONE  uLibImporter.c
----  Various MSL objects