OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # | 2 # |
3 # Copyright 2012 the V8 project authors. All rights reserved. | 3 # Copyright 2012 the V8 project authors. All rights reserved. |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 2027 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2038 xmlhttp.send(); | 2038 xmlhttp.send(); |
2039 } | 2039 } |
2040 | 2040 |
2041 </script> | 2041 </script> |
2042 | 2042 |
2043 <title>Dump %(dump_name)s</title> | 2043 <title>Dump %(dump_name)s</title> |
2044 </head> | 2044 </head> |
2045 | 2045 |
2046 <body> | 2046 <body> |
2047 <div class="header"> | 2047 <div class="header"> |
2048 <form class="navigation" action=/search.html"> | 2048 <form class="navigation" action="search.html"> |
2049 <a href="summary.html?%(query_dump)s">Context info</a> | 2049 <a href="summary.html?%(query_dump)s">Context info</a> |
2050 <a href="info.html?%(query_dump)s">Dump info</a> | 2050 <a href="info.html?%(query_dump)s">Dump info</a> |
2051 <a href="modules.html?%(query_dump)s">Modules</a> | 2051 <a href="modules.html?%(query_dump)s">Modules</a> |
2052 | 2052 |
2053 <input type="search" name="val"> | 2053 <input type="search" name="val"> |
2054 <input type="submit" name="search" value="Search"> | 2054 <input type="submit" name="search" value="Search"> |
2055 <input type="hidden" name="dump" value="%(dump_name)s"> | 2055 <input type="hidden" name="dump" value="%(dump_name)s"> |
2056 </form> | 2056 </form> |
2057 <form class="navigation" action="disasm.html#highlight"> | 2057 <form class="navigation" action="disasm.html#highlight"> |
2058 | 2058 |
(...skipping 1241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3300 try: | 3300 try: |
3301 server = InspectionWebServer(PORT_NUMBER, options, args[0]) | 3301 server = InspectionWebServer(PORT_NUMBER, options, args[0]) |
3302 print 'Started httpserver on port ' , PORT_NUMBER | 3302 print 'Started httpserver on port ' , PORT_NUMBER |
3303 webbrowser.open('http://localhost:%i/summary.html' % PORT_NUMBER) | 3303 webbrowser.open('http://localhost:%i/summary.html' % PORT_NUMBER) |
3304 server.serve_forever() | 3304 server.serve_forever() |
3305 except KeyboardInterrupt: | 3305 except KeyboardInterrupt: |
3306 print '^C received, shutting down the web server' | 3306 print '^C received, shutting down the web server' |
3307 server.socket.close() | 3307 server.socket.close() |
3308 else: | 3308 else: |
3309 AnalyzeMinidump(options, args[0]) | 3309 AnalyzeMinidump(options, args[0]) |
OLD | NEW |