eventData.put("start time", time);
Process oldProcess = getProcess(pid);
boolean RECREATE_AND_REPLACE = true; //true because a process vertex with the same pid created in execve
Process newProcess = putProcess(eventData, RECREATE_AND_REPLACE);
if(oldProcess != null){
<BUG>putWasTriggeredByEdge(newProcess, oldProcess, eventData.get("eventid"), time, DEV_AUDIT, getOperation(SYSCALL.EXECVE));
}else{
logger.log(Level.INFO, "Unable to find the process that did the execve. Not creating the execve edge. event id '"+eventData.get("eventid")+"'");
}</BUG>
String cwd = eventData.get("cwd");

eventData.put("start time", time);
Process oldProcess = getProcess(pid);
boolean RECREATE_AND_REPLACE = true; //true because a process vertex with the same pid created in execve
Process newProcess = putProcess(eventData, RECREATE_AND_REPLACE);
if(oldProcess != null){
WasTriggeredBy execveEdge = new WasTriggeredBy(newProcess, oldProcess);
putEdge(execveEdge, getOperation(SYSCALL.EXECVE), time, eventData.get("eventid"), DEV_AUDIT);
}else{
log(Level.INFO, "Unable to create edge because process with pid '"+pid+"' missing", null, eventData.get("eventid"), SYSCALL.EXECVE);
}
String cwd = eventData.get("cwd");
