ACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
}

// PtraceRegsMips64le is the registers used by mips64le binaries.
type PtraceRegsMips64le struct {
	Regs     [32]uint64
	Lo       uint64
	Hi       uint64
	Epc      uint64
	Badvaddr uint64
	Status   uint64
	Cause    uint64
}

// PtraceGetRegsMips64le fetches the registers used by mips64le binaries.
func PtraceGetRegsMips64le(pid int, regsout *PtraceRegsMips64le) error {
	return ptrace(PTRACE_GETREGS, pid, 0, uintptr(unsafe.Pointer(regsout)))
}

// PtraceSetRegsMips64le sets the registers used by mips64le binaries.
func PtraceSetRegsMips64le(pid int, regs *PtraceRegsMips64le) error {
	return ptrace(PTRACE_SETREGS, pid, 0, uintptr(unsafe.Pointer(regs)))
}


# Contributing

We love contribution from everyone. Please open an issue if you encounter a bug, or have feature requests, or get a documentation issue, or anything.

Issues tagged with [help-wanted](https://github.com/depcheck/depcheck/issues?utf8=%E2%9C%93&q=is%3Aissue+label%3A%22help+wanted%22+) are desired to get support.

## Setup machine

Clone the repository, install the npm dependencies. That is all:

```sh
git clone https://github.com/depcheck/depcheck.git
cd depcheck
npm install
```

## Design

Please read and understand the [pluggable design](https://github.com/depcheck/depcheck/blob/master/doc/pluggable-design.md) if you are going to implement new features.

Basically, it divides the depcheck process into three steps handled by different components.

1. Walk the files under the depcheck directory, managed by depcheck itself.
2. Parse file to abstract syntax tree (aka, AST), handled by [parser](https://github.com/depcheck/depcheck/blob/master/doc/pluggable-design.md#parser). Besides, dependencies can be reported directly with [special parser](https://github.com/depcheck/depcheck/blob/master/doc/pluggable-design.md#special-parser).
3. Detect dependencies from AST, handled by [detector](https://github.com/depcheck/depcheck/blob/master/doc/pluggable-design.md#detector).

## Test driven

Run test:

```