Skip to content

Commit de5c9ae

Browse files
author
Dorothy Chen
committed
misc visual bug fixes
1 parent 3941b0d commit de5c9ae

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

app/cppfilt.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ def demangle(mangled):
4141
process.stdin.flush()
4242
demangled = process.stdout.readline()
4343
# strip the newline that is returned
44-
return demangled[:-2]
44+
return demangled[:-1]
4545

app/disassemble.py

-3
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ def disasm(exe, bytes, offset=0):
4747

4848
# We can only decode the destination if it's an immediate value
4949
elif instr.operands[0].type == x86.X86_OP_IMM:
50-
starttime = time.clock()
5150
# Ignore if it's a jump/call to an address within this function
5251
func_start_addr = disassembled[0].address
5352
func_end_addr = disassembled[len(disassembled)-1].address
@@ -73,8 +72,6 @@ def disasm(exe, bytes, offset=0):
7372
instr.jump_function_address = symbol["st_value"]
7473
instr.jump_function_offset = symbol["st_value"] - sect_addr + sect_offset
7574
instr.jump_function_size = symbol['st_size']
76-
77-
print ("call time is " + str(time.clock() - starttime))
7875

7976
if instr.group(x86.X86_GRP_RET):
8077
instr.return_type = True

app/static/js/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ $(".file").on("click", ".remove-file", function(e) {
5454
});
5555

5656
// fire off loading screen when you click a file, or when you upload a file
57-
$(".file, .file_submit").on("click", function() {
57+
$(".filename a, .file_submit").on("click", function() {
5858
$('.overlay').fadeIn();
5959
$('.pacman').fadeIn();
6060
});

config.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
UPLOAD_DIR = './uploads/' # location of uploaded executables
2-
SRC_DIR = '../mongo/' # dir containing src code
1+
UPLOAD_DIR = './uploads/' # location of uploaded executables
2+
# (this directory will be created at runtime if it does not already exist)
3+
4+
SRC_DIR = '../mongo/' # directory containing source code
35

46
# IACA_PATH and DYLD_LIBRARY_PATH are optional and used for iaca
57
# integration. Uncomment and fill in the appropriate paths if

requirements.pypy.txt

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ pathlib==1.0.1
1717
-e git+https://github.com/eliben/pyelftools.git@5d3b1545df30d4bc3a6cfa8741b1f08cb6bf204b#egg=pyelftools
1818
pyparsing==2.1.5
1919
pyScss==1.3.5
20-
readline==6.2.4.1
2120
six==1.10.0
2221
webassets==0.11.1
2322
Werkzeug==0.11.10

0 commit comments

Comments
 (0)