Skip to content

Commit

Permalink
Don't use hardcoded location for Python.h
Browse files Browse the repository at this point in the history
  • Loading branch information
moshekaplan committed Feb 8, 2015
1 parent 87f1a1b commit 4713013
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion IMG.cpp
Expand Up @@ -9,7 +9,7 @@
*/

#include </usr/include/python2.7/Python.h>
#include <Python.h>
#include "pin.H"
#include <strings.h>
#include <stdlib.h>
Expand Down
2 changes: 1 addition & 1 deletion INS.cpp
@@ -1,4 +1,4 @@
#include </usr/include/python2.7/Python.h>
#include <Python.h>
#include "pin.H"
#include "INS.h"

Expand Down
2 changes: 1 addition & 1 deletion Python_Pin.cpp
@@ -1,5 +1,5 @@
#include <Python.h>
//#include </usr/include/python2.7/Python.h>
//#include <Python.h>
#include "pin.H"
#include "IMG.h"
#include "INS.h"
Expand Down
2 changes: 1 addition & 1 deletion REG.cpp
@@ -1,4 +1,4 @@
#include </usr/include/python2.7/Python.h>
#include <Python.h>
#include "pin.H"
#include "REG.h"

Expand Down
2 changes: 1 addition & 1 deletion RTN.cpp
@@ -1,4 +1,4 @@
#include </usr/include/python2.7/Python.h>
#include <Python.h>
#include "pin.H"
#include "RTN.h"

Expand Down
2 changes: 1 addition & 1 deletion SYS.cpp
@@ -1,4 +1,4 @@
#include </usr/include/python2.7/Python.h>
#include <Python.h>
#include "pin.H"

PyObject* Python_PIN_GetSyscallArgument(PyObject* self, PyObject* args) {
Expand Down
2 changes: 1 addition & 1 deletion TRACE.cpp
@@ -1,4 +1,4 @@
#include </usr/include/python2.7/Python.h>
#include <Python.h>
#include "pin.H"
#include "TRACE.h"

Expand Down
2 changes: 1 addition & 1 deletion status/parser.py
Expand Up @@ -2,7 +2,7 @@

input_data = open('/tmp/indb.txt').read().split("\n")
functions = []
headers = """#include </usr/include/python2.7/Python.h>
headers = """#include <Python.h>
#include "pin.H"
#include "INS.h"
"""
Expand Down

0 comments on commit 4713013

Please sign in to comment.