예제 #1
0
파일: api.py 프로젝트: zhouat/pyrebox
def start_monitoring_process(pgd):
    """ Start monitoring a process. Process-wide callbacks will be called for every process that is being monitored
        
        :param pgd: PGD, or address space of the process to check
        :type pgd: int

        :return: None
        :rtype: None
    """
    import c_api
    #If this function call fails, it will raise an exception. 
    #Given that the exception is self explanatory, we just let it propagate upwards 
    return c_api.start_monitoring_process(pgd)
예제 #2
0
파일: api.py 프로젝트: CRYP706URU/pyrebox
def start_monitoring_process(pgd):
    """ Start monitoring a process. Process-wide callbacks will be called for every process that is being monitored

        :param pgd: PGD, or address space of the process to check
        :type pgd: int

        :return: None
        :rtype: None
    """
    import c_api
    # If this function call fails, it will raise an exception.
    # Given that the exception is self explanatory, we just let it propagate
    # upwards
    return c_api.start_monitoring_process(pgd)