import logging

l = logging.getLogger('angr.states')

class PathGenerator(object):
    def __init__(self, project):
        self._project = project

    def blank_path(self, state=None, *args, **kwargs):
        '''
        blank_point - Returns a start path, representing a clean start of symbolic execution.
        '''
        s = self._project.state_generator.blank_state(*args, **kwargs) if state is None else state
        return Path(self._project, s)

    def entry_point(self, state=None, *args, **kwargs):
        '''
        entry_point - Returns a path reflecting the processor when execution
                      reaches the binary's entry point.
        '''
        s = self._project.state_generator.entry_point(*args, **kwargs) if state is None else state
        return Path(self._project, s)

from .path import Path

import logging

l = logging.getLogger('angr.states')

class PathGenerator(object):
    def __init__(self, project):
        self._project = project

    def blank_path(self, state=None, jumpkind='Ijk_Boring', *args, **kwargs):
        '''
        blank_point - Returns a start path, representing a clean start of symbolic execution.
        '''
        s = self._project.state_generator.blank_state(*args, **kwargs) if state is None else state
        return Path(self._project, s, jumpkind=jumpkind)

    def entry_point(self, state=None, *args, **kwargs):
        '''
        entry_point - Returns a path reflecting the processor when execution
                      reaches the binary's entry point.
        '''
        s = self._project.state_generator.entry_point(*args, **kwargs) if state is None else state
        return Path(self._project, s)

from .path import Path

Allow specifying jumpkind with creating a Path via PathGenerator.blank_path()
Allow specifying jumpkind with creating a Path via PathGenerator.blank_path()

  import logging
  
  l = logging.getLogger('angr.states')
  
  class PathGenerator(object):
      def __init__(self, project):
          self._project = project
  
-     def blank_path(self, state=None, *args, **kwargs):
+     def blank_path(self, state=None, jumpkind='Ijk_Boring', *args, **kwargs):
          '''
          blank_point - Returns a start path, representing a clean start of symbolic execution.
          '''
          s = self._project.state_generator.blank_state(*args, **kwargs) if state is None else state
-         return Path(self._project, s)
+         return Path(self._project, s, jumpkind=jumpkind)
  
      def entry_point(self, state=None, *args, **kwargs):
          '''
          entry_point - Returns a path reflecting the processor when execution
                        reaches the binary's entry point.
          '''
          s = self._project.state_generator.entry_point(*args, **kwargs) if state is None else state
          return Path(self._project, s)
  
  from .path import Path
  
Allow specifying jumpkind with creating a Path via PathGenerator.blank_path()
## Code Before:
import logging

l = logging.getLogger('angr.states')

class PathGenerator(object):
    def __init__(self, project):
        self._project = project

    def blank_path(self, state=None, *args, **kwargs):
        '''
        blank_point - Returns a start path, representing a clean start of symbolic execution.
        '''
        s = self._project.state_generator.blank_state(*args, **kwargs) if state is None else state
        return Path(self._project, s)

    def entry_point(self, state=None, *args, **kwargs):
        '''
        entry_point - Returns a path reflecting the processor when execution
                      reaches the binary's entry point.
        '''
        s = self._project.state_generator.entry_point(*args, **kwargs) if state is None else state
        return Path(self._project, s)

from .path import Path

## Instruction:
Allow specifying jumpkind with creating a Path via PathGenerator.blank_path()
## Code After:
import logging

l = logging.getLogger('angr.states')

class PathGenerator(object):
    def __init__(self, project):
        self._project = project

    def blank_path(self, state=None, jumpkind='Ijk_Boring', *args, **kwargs):
        '''
        blank_point - Returns a start path, representing a clean start of symbolic execution.
        '''
        s = self._project.state_generator.blank_state(*args, **kwargs) if state is None else state
        return Path(self._project, s, jumpkind=jumpkind)

    def entry_point(self, state=None, *args, **kwargs):
        '''
        entry_point - Returns a path reflecting the processor when execution
                      reaches the binary's entry point.
        '''
        s = self._project.state_generator.entry_point(*args, **kwargs) if state is None else state
        return Path(self._project, s)

from .path import Path
