1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 24 unchanged lines hidden (view full) --- 33#include <vector> 34 35#include "base/loader/object_file.hh" 36#include "base/loader/symtab.hh" 37#include "base/misc.hh" 38#include "base/str.hh" 39 40using namespace std; |
41 |
42int 43main(int argc, char *argv[]) 44{ 45 if (argc != 2 && argc != 3) 46 panic("usage: %s <filename> <symbol>\n", argv[0]); 47 48 ObjectFile *obj = createObjectFile(argv[1]); 49 if (!obj) --- 33 unchanged lines hidden --- |