parameters: (cls)
return_statement: return ( LastBranchFromIP, LastBranchToIP )
docstring: Returns the source and destination addresses of the last taken branch.
  
          @rtype: tuple( int, int )
          @return: Source and destination addresses of the last taken branch.
  
          @raise WindowsError:
              Raises an exception on error.
  
          @raise NotImplementedError:
              Current architecture is not C{i386} or C{amd64}.
  
          @warning:
              This method uses the processor's machine specific registers (MSR).
              It could potentially brick your machine.
              It works on my machine, but your mileage may vary.
  
          @note:
              It doesn't seem to work in VMWare or VirtualBox machines.
              Maybe it fails in other virtualization/emulation environments,
              no extensive testing was made so far.
docstring_summary: Returns the source and destination addresses of the last taken branch.
docstring_tokens: Returns the source and destination addresses of the last taken branch .
function: def get_last_branch_location(cls):
          """
          Returns the source and destination addresses of the last taken branch.
  
          @rtype: tuple( int, int )
          @return: Source and destination addresses of the last taken branch.
  
          @raise WindowsError:
              Raises an exception on error.
  
          @raise NotImplementedError:
              Current architecture is not C{i386} or C{amd64}.
  
          @warning:
              This method uses the processor's machine specific registers (MSR).
              It could potentially brick your machine.
              It works on my machine, but your mileage may vary.
  
          @note:
              It doesn't seem to work in VMWare or VirtualBox machines.
              Maybe it fails in other virtualization/emulation environments,
              no extensive testing was made so far.
          """
          LastBranchFromIP = cls.read_msr(DebugRegister.LastBranchFromIP)
          LastBranchToIP   = cls.read_msr(DebugRegister.LastBranchToIP)
          return ( LastBranchFromIP, LastBranchToIP )
function_tokens: def get_last_branch_location ( cls ) : LastBranchFromIP = cls . read_msr ( DebugRegister . LastBranchFromIP ) LastBranchToIP = cls . read_msr ( DebugRegister . LastBranchToIP ) return ( LastBranchFromIP , LastBranchToIP )