blob: 1ee3e42dab7f40178e12d1be0c1c2d0a610b0fcc [file] [log] [blame]
Benjamin Kramer0b8b7712011-09-19 17:56:04 +00001//===-- MachODump.cpp - Object file dumping utility for llvm --------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file implements the MachO-specific dumper for llvm-objdump.
11//
12//===----------------------------------------------------------------------===//
13
14#include "llvm-objdump.h"
Benjamin Kramer0b8b7712011-09-19 17:56:04 +000015#include "llvm/ADT/OwningPtr.h"
Benjamin Kramer0b8b7712011-09-19 17:56:04 +000016#include "llvm/ADT/STLExtras.h"
Ahmed Bougachaef993562013-05-24 01:07:04 +000017#include "llvm/ADT/StringExtras.h"
Chandler Carruthf010c462012-12-04 10:44:52 +000018#include "llvm/ADT/Triple.h"
Benjamin Kramer8c930972011-09-21 01:13:19 +000019#include "llvm/DebugInfo/DIContext.h"
Benjamin Kramer0b8b7712011-09-19 17:56:04 +000020#include "llvm/MC/MCAsmInfo.h"
21#include "llvm/MC/MCDisassembler.h"
22#include "llvm/MC/MCInst.h"
23#include "llvm/MC/MCInstPrinter.h"
24#include "llvm/MC/MCInstrAnalysis.h"
25#include "llvm/MC/MCInstrDesc.h"
26#include "llvm/MC/MCInstrInfo.h"
Jim Grosbachc6449b62012-03-05 19:33:20 +000027#include "llvm/MC/MCRegisterInfo.h"
Benjamin Kramer0b8b7712011-09-19 17:56:04 +000028#include "llvm/MC/MCSubtargetInfo.h"
Chandler Carruthf010c462012-12-04 10:44:52 +000029#include "llvm/Object/MachO.h"
Rafael Espindolada2a2372013-04-13 01:45:40 +000030#include "llvm/Support/Casting.h"
Benjamin Kramer0b8b7712011-09-19 17:56:04 +000031#include "llvm/Support/CommandLine.h"
32#include "llvm/Support/Debug.h"
33#include "llvm/Support/Format.h"
34#include "llvm/Support/GraphWriter.h"
Chandler Carruthf010c462012-12-04 10:44:52 +000035#include "llvm/Support/MachO.h"
Benjamin Kramer0b8b7712011-09-19 17:56:04 +000036#include "llvm/Support/MemoryBuffer.h"
37#include "llvm/Support/TargetRegistry.h"
38#include "llvm/Support/TargetSelect.h"
39#include "llvm/Support/raw_ostream.h"
40#include "llvm/Support/system_error.h"
41#include <algorithm>
42#include <cstring>
43using namespace llvm;
44using namespace object;
45
46static cl::opt<bool>
Benjamin Kramer8c930972011-09-21 01:13:19 +000047 UseDbg("g", cl::desc("Print line information from debug info if available"));
48
49static cl::opt<std::string>
50 DSYMFile("dsym", cl::desc("Use .dSYM file for debug info"));
51
Rafael Espindolafd7aa382013-04-18 18:08:55 +000052static const Target *GetTarget(const MachOObjectFile *MachOObj) {
Benjamin Kramer0b8b7712011-09-19 17:56:04 +000053 // Figure out the target triple.
Cameron Zwaricha9935052012-02-03 06:35:22 +000054 if (TripleName.empty()) {
55 llvm::Triple TT("unknown-unknown-unknown");
Rafael Espindola317d3f42013-04-11 03:34:37 +000056 TT.setArch(Triple::ArchType(MachOObj->getArch()));
Cameron Zwaricha9935052012-02-03 06:35:22 +000057 TripleName = TT.str();
Benjamin Kramer0b8b7712011-09-19 17:56:04 +000058 }
59
Benjamin Kramer0b8b7712011-09-19 17:56:04 +000060 // Get the target specific parser.
61 std::string Error;
62 const Target *TheTarget = TargetRegistry::lookupTarget(TripleName, Error);
63 if (TheTarget)
64 return TheTarget;
65
66 errs() << "llvm-objdump: error: unable to get target for '" << TripleName
67 << "', see --version and --triple.\n";
68 return 0;
69}
70
Owen Anderson481837a2011-10-17 21:37:35 +000071struct SymbolSorter {
72 bool operator()(const SymbolRef &A, const SymbolRef &B) {
73 SymbolRef::Type AType, BType;
74 A.getType(AType);
75 B.getType(BType);
76
77 uint64_t AAddr, BAddr;
78 if (AType != SymbolRef::ST_Function)
79 AAddr = 0;
80 else
81 A.getAddress(AAddr);
82 if (BType != SymbolRef::ST_Function)
83 BAddr = 0;
84 else
85 B.getAddress(BAddr);
86 return AAddr < BAddr;
87 }
Benjamin Kramer0b8b7712011-09-19 17:56:04 +000088};
89
Rafael Espindolada2a2372013-04-13 01:45:40 +000090static void
Rafael Espindolafd7aa382013-04-18 18:08:55 +000091getSectionsAndSymbols(const macho::Header Header,
92 MachOObjectFile *MachOObj,
Rafael Espindolada2a2372013-04-13 01:45:40 +000093 std::vector<SectionRef> &Sections,
94 std::vector<SymbolRef> &Symbols,
95 SmallVectorImpl<uint64_t> &FoundFns) {
Owen Anderson481837a2011-10-17 21:37:35 +000096 error_code ec;
97 for (symbol_iterator SI = MachOObj->begin_symbols(),
98 SE = MachOObj->end_symbols(); SI != SE; SI.increment(ec))
99 Symbols.push_back(*SI);
100
101 for (section_iterator SI = MachOObj->begin_sections(),
102 SE = MachOObj->end_sections(); SI != SE; SI.increment(ec)) {
103 SectionRef SR = *SI;
104 StringRef SectName;
105 SR.getName(SectName);
106 Sections.push_back(*SI);
107 }
108
Rafael Espindolafd7aa382013-04-18 18:08:55 +0000109 MachOObjectFile::LoadCommandInfo Command =
110 MachOObj->getFirstLoadCommandInfo();
Rafael Espindoladb5f9272013-04-19 11:36:47 +0000111 for (unsigned i = 0; ; ++i) {
Rafael Espindolafd7aa382013-04-18 18:08:55 +0000112 if (Command.C.Type == macho::LCT_FunctionStarts) {
Benjamin Kramer8c930972011-09-21 01:13:19 +0000113 // We found a function starts segment, parse the addresses for later
114 // consumption.
Rafael Espindolafd7aa382013-04-18 18:08:55 +0000115 macho::LinkeditDataLoadCommand LLC =
116 MachOObj->getLinkeditDataLoadCommand(Command);
Benjamin Kramer8c930972011-09-21 01:13:19 +0000117
Rafael Espindolafd7aa382013-04-18 18:08:55 +0000118 MachOObj->ReadULEB128s(LLC.DataOffset, FoundFns);
Benjamin Kramerafbaf482011-09-21 22:16:43 +0000119 }
Rafael Espindoladb5f9272013-04-19 11:36:47 +0000120
121 if (i == Header.NumLoadCommands - 1)
122 break;
123 else
124 Command = MachOObj->getNextLoadCommandInfo(Command);
Benjamin Kramerafbaf482011-09-21 22:16:43 +0000125 }
Benjamin Kramer8c930972011-09-21 01:13:19 +0000126}
127
Rafael Espindolada2a2372013-04-13 01:45:40 +0000128static void DisassembleInputMachO2(StringRef Filename,
Rafael Espindolafd7aa382013-04-18 18:08:55 +0000129 MachOObjectFile *MachOOF);
Rafael Espindolada2a2372013-04-13 01:45:40 +0000130
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000131void llvm::DisassembleInputMachO(StringRef Filename) {
132 OwningPtr<MemoryBuffer> Buff;
133
134 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename, Buff)) {
135 errs() << "llvm-objdump: " << Filename << ": " << ec.message() << "\n";
136 return;
137 }
138
Rafael Espindolafd7aa382013-04-18 18:08:55 +0000139 OwningPtr<MachOObjectFile> MachOOF(static_cast<MachOObjectFile*>(
Owen Anderson481837a2011-10-17 21:37:35 +0000140 ObjectFile::createMachOObjectFile(Buff.take())));
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000141
Rafael Espindolafd7aa382013-04-18 18:08:55 +0000142 DisassembleInputMachO2(Filename, MachOOF.get());
Rafael Espindolada2a2372013-04-13 01:45:40 +0000143}
144
Rafael Espindolada2a2372013-04-13 01:45:40 +0000145static void DisassembleInputMachO2(StringRef Filename,
Rafael Espindolafd7aa382013-04-18 18:08:55 +0000146 MachOObjectFile *MachOOF) {
Rafael Espindolada2a2372013-04-13 01:45:40 +0000147 const Target *TheTarget = GetTarget(MachOOF);
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000148 if (!TheTarget) {
149 // GetTarget prints out stuff.
150 return;
151 }
Benjamin Kramerd226ed712011-10-10 13:10:09 +0000152 OwningPtr<const MCInstrInfo> InstrInfo(TheTarget->createMCInstrInfo());
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000153 OwningPtr<MCInstrAnalysis>
Benjamin Kramerd226ed712011-10-10 13:10:09 +0000154 InstrAnalysis(TheTarget->createMCInstrAnalysis(InstrInfo.get()));
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000155
156 // Set up disassembler.
Rafael Espindola4a971702013-05-13 01:16:13 +0000157 OwningPtr<const MCRegisterInfo> MRI(TheTarget->createMCRegInfo(TripleName));
158 OwningPtr<const MCAsmInfo> AsmInfo(
159 TheTarget->createMCAsmInfo(*MRI, TripleName));
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000160 OwningPtr<const MCSubtargetInfo>
161 STI(TheTarget->createMCSubtargetInfo(TripleName, "", ""));
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000162 OwningPtr<const MCDisassembler> DisAsm(TheTarget->createMCDisassembler(*STI));
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000163 int AsmPrinterVariant = AsmInfo->getAssemblerDialect();
Craig Topper17463b32012-04-02 06:09:36 +0000164 OwningPtr<MCInstPrinter>
165 IP(TheTarget->createMCInstPrinter(AsmPrinterVariant, *AsmInfo, *InstrInfo,
166 *MRI, *STI));
Benjamin Kramera894c8e2011-09-20 17:53:01 +0000167
168 if (!InstrAnalysis || !AsmInfo || !STI || !DisAsm || !IP) {
Michael J. Spencer3773fb42011-10-07 19:25:47 +0000169 errs() << "error: couldn't initialize disassembler for target "
Benjamin Kramera894c8e2011-09-20 17:53:01 +0000170 << TripleName << '\n';
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000171 return;
172 }
173
Benjamin Kramera894c8e2011-09-20 17:53:01 +0000174 outs() << '\n' << Filename << ":\n\n";
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000175
Rafael Espindolafd7aa382013-04-18 18:08:55 +0000176 macho::Header Header = MachOOF->getHeader();
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000177
Ahmed Bougachaef993562013-05-24 01:07:04 +0000178 // FIXME: FoundFns isn't used anymore. Using symbols/LC_FUNCTION_STARTS to
179 // determine function locations will eventually go in MCObjectDisassembler.
180 // FIXME: Using the -cfg command line option, this code used to be able to
181 // annotate relocations with the referenced symbol's name, and if this was
182 // inside a __[cf]string section, the data it points to. This is now replaced
183 // by the upcoming MCSymbolizer, which needs the appropriate setup done above.
Owen Anderson481837a2011-10-17 21:37:35 +0000184 std::vector<SectionRef> Sections;
185 std::vector<SymbolRef> Symbols;
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000186 SmallVector<uint64_t, 8> FoundFns;
187
Rafael Espindolada2a2372013-04-13 01:45:40 +0000188 getSectionsAndSymbols(Header, MachOOF, Sections, Symbols, FoundFns);
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000189
Benjamin Kramer8c930972011-09-21 01:13:19 +0000190 // Make a copy of the unsorted symbol list. FIXME: duplication
Owen Anderson481837a2011-10-17 21:37:35 +0000191 std::vector<SymbolRef> UnsortedSymbols(Symbols);
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000192 // Sort the symbols by address, just in case they didn't come in that way.
Owen Anderson481837a2011-10-17 21:37:35 +0000193 std::sort(Symbols.begin(), Symbols.end(), SymbolSorter());
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000194
195#ifndef NDEBUG
196 raw_ostream &DebugOut = DebugFlag ? dbgs() : nulls();
197#else
198 raw_ostream &DebugOut = nulls();
199#endif
200
Benjamin Kramer8c930972011-09-21 01:13:19 +0000201 OwningPtr<DIContext> diContext;
Rafael Espindolada2a2372013-04-13 01:45:40 +0000202 ObjectFile *DbgObj = MachOOF;
Benjamin Kramer8c930972011-09-21 01:13:19 +0000203 // Try to find debug info and set up the DIContext for it.
204 if (UseDbg) {
Benjamin Kramer8c930972011-09-21 01:13:19 +0000205 // A separate DSym file path was specified, parse it as a macho file,
206 // get the sections and supply it to the section name parsing machinery.
207 if (!DSYMFile.empty()) {
208 OwningPtr<MemoryBuffer> Buf;
209 if (error_code ec = MemoryBuffer::getFileOrSTDIN(DSYMFile.c_str(), Buf)) {
210 errs() << "llvm-objdump: " << Filename << ": " << ec.message() << '\n';
211 return;
212 }
Eric Christopherd1726a42012-11-12 21:40:38 +0000213 DbgObj = ObjectFile::createMachOObjectFile(Buf.take());
Benjamin Kramer8c930972011-09-21 01:13:19 +0000214 }
215
Eric Christopherd1726a42012-11-12 21:40:38 +0000216 // Setup the DIContext
217 diContext.reset(DIContext::getDWARFContext(DbgObj));
Benjamin Kramer8c930972011-09-21 01:13:19 +0000218 }
219
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000220 for (unsigned SectIdx = 0; SectIdx != Sections.size(); SectIdx++) {
Ahmed Bougachaef993562013-05-24 01:07:04 +0000221
222 bool SectIsText = false;
223 Sections[SectIdx].isText(SectIsText);
224 if (SectIsText == false)
225 continue;
226
Owen Anderson481837a2011-10-17 21:37:35 +0000227 StringRef SectName;
228 if (Sections[SectIdx].getName(SectName) ||
Rafael Espindolacef81b32012-12-21 03:47:03 +0000229 SectName != "__text")
Benjamin Kramera894c8e2011-09-20 17:53:01 +0000230 continue; // Skip non-text sections
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000231
Rafael Espindolacef81b32012-12-21 03:47:03 +0000232 DataRefImpl DR = Sections[SectIdx].getRawDataRefImpl();
Ahmed Bougachaef993562013-05-24 01:07:04 +0000233
Rafael Espindolaf16c2bb2013-04-05 15:15:22 +0000234 StringRef SegmentName = MachOOF->getSectionFinalSegmentName(DR);
235 if (SegmentName != "__TEXT")
Rafael Espindolacef81b32012-12-21 03:47:03 +0000236 continue;
237
Owen Anderson481837a2011-10-17 21:37:35 +0000238 StringRef Bytes;
239 Sections[SectIdx].getContents(Bytes);
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000240 StringRefMemoryObject memoryObject(Bytes);
241 bool symbolTableWorked = false;
242
Benjamin Kramera894c8e2011-09-20 17:53:01 +0000243 // Parse relocations.
Owen Anderson7d3f8b82011-11-07 17:21:36 +0000244 std::vector<std::pair<uint64_t, SymbolRef> > Relocs;
Owen Anderson481837a2011-10-17 21:37:35 +0000245 error_code ec;
246 for (relocation_iterator RI = Sections[SectIdx].begin_relocations(),
247 RE = Sections[SectIdx].end_relocations(); RI != RE; RI.increment(ec)) {
248 uint64_t RelocOffset, SectionAddress;
Rafael Espindola956ca722013-04-25 12:28:45 +0000249 RI->getOffset(RelocOffset);
Owen Anderson481837a2011-10-17 21:37:35 +0000250 Sections[SectIdx].getAddress(SectionAddress);
251 RelocOffset -= SectionAddress;
252
Rafael Espindola6c1202c2013-06-05 01:33:53 +0000253 symbol_iterator RelocSym = RI->getSymbol();
Owen Anderson481837a2011-10-17 21:37:35 +0000254
Rafael Espindola6c1202c2013-06-05 01:33:53 +0000255 Relocs.push_back(std::make_pair(RelocOffset, *RelocSym));
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000256 }
257 array_pod_sort(Relocs.begin(), Relocs.end());
258
Benjamin Kramera894c8e2011-09-20 17:53:01 +0000259 // Disassemble symbol by symbol.
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000260 for (unsigned SymIdx = 0; SymIdx != Symbols.size(); SymIdx++) {
Owen Anderson481837a2011-10-17 21:37:35 +0000261 StringRef SymName;
262 Symbols[SymIdx].getName(SymName);
263
264 SymbolRef::Type ST;
265 Symbols[SymIdx].getType(ST);
266 if (ST != SymbolRef::ST_Function)
267 continue;
268
Benjamin Kramera894c8e2011-09-20 17:53:01 +0000269 // Make sure the symbol is defined in this section.
Owen Anderson481837a2011-10-17 21:37:35 +0000270 bool containsSym = false;
271 Sections[SectIdx].containsSymbol(Symbols[SymIdx], containsSym);
272 if (!containsSym)
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000273 continue;
274
Benjamin Kramera894c8e2011-09-20 17:53:01 +0000275 // Start at the address of the symbol relative to the section's address.
Cameron Zwarichec8eac62012-02-03 05:42:17 +0000276 uint64_t SectionAddress = 0;
Owen Anderson481837a2011-10-17 21:37:35 +0000277 uint64_t Start = 0;
Cameron Zwarichec8eac62012-02-03 05:42:17 +0000278 Sections[SectIdx].getAddress(SectionAddress);
Danil Malyshevb0436a72011-11-29 17:40:10 +0000279 Symbols[SymIdx].getAddress(Start);
Cameron Zwarichec8eac62012-02-03 05:42:17 +0000280 Start -= SectionAddress;
Owen Anderson481837a2011-10-17 21:37:35 +0000281
Benjamin Kramera894c8e2011-09-20 17:53:01 +0000282 // Stop disassembling either at the beginning of the next symbol or at
283 // the end of the section.
Kevin Enderby41854ae2012-05-15 18:57:14 +0000284 bool containsNextSym = false;
Owen Anderson481837a2011-10-17 21:37:35 +0000285 uint64_t NextSym = 0;
286 uint64_t NextSymIdx = SymIdx+1;
287 while (Symbols.size() > NextSymIdx) {
288 SymbolRef::Type NextSymType;
289 Symbols[NextSymIdx].getType(NextSymType);
290 if (NextSymType == SymbolRef::ST_Function) {
291 Sections[SectIdx].containsSymbol(Symbols[NextSymIdx],
292 containsNextSym);
Danil Malyshevb0436a72011-11-29 17:40:10 +0000293 Symbols[NextSymIdx].getAddress(NextSym);
Cameron Zwarichec8eac62012-02-03 05:42:17 +0000294 NextSym -= SectionAddress;
Owen Anderson481837a2011-10-17 21:37:35 +0000295 break;
296 }
297 ++NextSymIdx;
298 }
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000299
Owen Anderson481837a2011-10-17 21:37:35 +0000300 uint64_t SectSize;
301 Sections[SectIdx].getSize(SectSize);
302 uint64_t End = containsNextSym ? NextSym : SectSize;
303 uint64_t Size;
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000304
305 symbolTableWorked = true;
306
Ahmed Bougachaef993562013-05-24 01:07:04 +0000307 outs() << SymName << ":\n";
308 DILineInfo lastLine;
309 for (uint64_t Index = Start; Index < End; Index += Size) {
310 MCInst Inst;
Owen Anderson481837a2011-10-17 21:37:35 +0000311
Ahmed Bougachaef993562013-05-24 01:07:04 +0000312 if (DisAsm->getInstruction(Inst, Size, memoryObject, Index,
313 DebugOut, nulls())) {
314 uint64_t SectAddress = 0;
315 Sections[SectIdx].getAddress(SectAddress);
316 outs() << format("%8" PRIx64 ":\t", SectAddress + Index);
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000317
Ahmed Bougachaef993562013-05-24 01:07:04 +0000318 DumpBytes(StringRef(Bytes.data() + Index, Size));
319 IP->printInst(&Inst, outs(), "");
Owen Anderson481837a2011-10-17 21:37:35 +0000320
Ahmed Bougachaef993562013-05-24 01:07:04 +0000321 // Print debug info.
322 if (diContext) {
323 DILineInfo dli =
324 diContext->getLineInfoForAddress(SectAddress + Index);
325 // Print valid line info if it changed.
326 if (dli != lastLine && dli.getLine() != 0)
327 outs() << "\t## " << dli.getFileName() << ':'
328 << dli.getLine() << ':' << dli.getColumn();
329 lastLine = dli;
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000330 }
Ahmed Bougachaef993562013-05-24 01:07:04 +0000331 outs() << "\n";
332 } else {
333 errs() << "llvm-objdump: warning: invalid instruction encoding\n";
334 if (Size == 0)
335 Size = 1; // skip illegible bytes
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000336 }
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000337 }
338 }
Ahmed Bougachaef993562013-05-24 01:07:04 +0000339 if (!symbolTableWorked) {
Kevin Enderby59c15e92012-05-18 00:13:56 +0000340 // Reading the symbol table didn't work, disassemble the whole section.
341 uint64_t SectAddress;
342 Sections[SectIdx].getAddress(SectAddress);
343 uint64_t SectSize;
344 Sections[SectIdx].getSize(SectSize);
345 uint64_t InstSize;
346 for (uint64_t Index = 0; Index < SectSize; Index += InstSize) {
Bill Wendlingf59083c2012-07-19 00:17:40 +0000347 MCInst Inst;
Kevin Enderby59c15e92012-05-18 00:13:56 +0000348
Bill Wendlingf59083c2012-07-19 00:17:40 +0000349 if (DisAsm->getInstruction(Inst, InstSize, memoryObject, Index,
350 DebugOut, nulls())) {
351 outs() << format("%8" PRIx64 ":\t", SectAddress + Index);
352 DumpBytes(StringRef(Bytes.data() + Index, InstSize));
353 IP->printInst(&Inst, outs(), "");
354 outs() << "\n";
355 } else {
356 errs() << "llvm-objdump: warning: invalid instruction encoding\n";
357 if (InstSize == 0)
358 InstSize = 1; // skip illegible bytes
359 }
Kevin Enderby59c15e92012-05-18 00:13:56 +0000360 }
361 }
Benjamin Kramer0b8b7712011-09-19 17:56:04 +0000362 }
363}