1 #!/usr/bin/env python 2 # Copyright 2016 the V8 project authors. All rights reserved. 3 # Use of this source code is governed by a BSD-style license that can be 4 # found in the LICENSE file. 5 6 """Corrects objdump output. The logic is from sancov.py, see comments there.""" 7 8 import sys; 9 10 for line in sys.stdin: 11 print '0x%x' % (int(line.strip(), 16) + 4) 12