|
Last change
on this file since 11 was 11, checked in by bird, 16 years ago |
|
Wrappers for the win32/64 api.
|
-
Property svn:eol-style
set to
LF
-
Property svn:keywords
set to
Id
|
|
File size:
1.4 KB
|
| Line | |
|---|
| 1 | # $Id: kPrf2WinApi-dumpbin.sed 11 2008-04-20 09:18:23Z bird $
|
|---|
| 2 | ## @file
|
|---|
| 3 | # Strip down dumpbin /export output.
|
|---|
| 4 | #
|
|---|
| 5 |
|
|---|
| 6 | #
|
|---|
| 7 | # Copyright (c) 2008 knut st. osmundsen <bird-src-spam@anduin.net>
|
|---|
| 8 | #
|
|---|
| 9 | # This file is part of kProfiler.
|
|---|
| 10 | #
|
|---|
| 11 | # kProfiler is free software; you can redistribute it and/or
|
|---|
| 12 | # modify it under the terms of the GNU Lesser General Public
|
|---|
| 13 | # License as published by the Free Software Foundation; either
|
|---|
| 14 | # version 2.1 of the License, or (at your option) any later version.
|
|---|
| 15 | #
|
|---|
| 16 | # kProfiler is distributed in the hope that it will be useful,
|
|---|
| 17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|---|
| 19 | # Lesser General Public License for more details.
|
|---|
| 20 | #
|
|---|
| 21 | # You should have received a copy of the GNU Lesser General Public
|
|---|
| 22 | # License along with kProfiler; if not, write to the Free Software
|
|---|
| 23 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|---|
| 24 | #
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 | #
|
|---|
| 28 | # State switch
|
|---|
| 29 | #
|
|---|
| 30 | x
|
|---|
| 31 | /^exports$/b exports
|
|---|
| 32 | /^summary$/b summary
|
|---|
| 33 | b header
|
|---|
| 34 |
|
|---|
| 35 | #
|
|---|
| 36 | # Header
|
|---|
| 37 | #
|
|---|
| 38 | :header
|
|---|
| 39 | x
|
|---|
| 40 | /^[[:space:]][[:space:]]*ordinal[[:space:]]*name[[:space:]]*$/b switch_to_exports
|
|---|
| 41 | b drop_line
|
|---|
| 42 |
|
|---|
| 43 | #
|
|---|
| 44 | # Exports
|
|---|
| 45 | #
|
|---|
| 46 | :switch_to_exports
|
|---|
| 47 | s/^.*$/exports/
|
|---|
| 48 | h
|
|---|
| 49 | b drop_line
|
|---|
| 50 |
|
|---|
| 51 | :exports
|
|---|
| 52 | x
|
|---|
| 53 | /^[[:space:]][[:space:]]*Summary[[:space:]]*$/b switch_to_summary
|
|---|
| 54 | s/^[[:space:]]*//
|
|---|
| 55 | s/[[:space:]]*$//
|
|---|
| 56 | s/[[:space:]][[:space:]]*/ /g
|
|---|
| 57 | /^$/b drop_line
|
|---|
| 58 | b end
|
|---|
| 59 |
|
|---|
| 60 | #
|
|---|
| 61 | # Summary
|
|---|
| 62 | #
|
|---|
| 63 | :switch_to_summary
|
|---|
| 64 | s/^.*$/summary/
|
|---|
| 65 | h
|
|---|
| 66 | b drop_line
|
|---|
| 67 |
|
|---|
| 68 | :summary
|
|---|
| 69 | x
|
|---|
| 70 | b drop_line
|
|---|
| 71 |
|
|---|
| 72 | #
|
|---|
| 73 | # Tail
|
|---|
| 74 | #
|
|---|
| 75 | :drop_line
|
|---|
| 76 | d
|
|---|
| 77 | :end
|
|---|
| 78 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.