Skip to content

zeldovich/go-rpcgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RFC4506 XDR generator for Go

CI

Run make to build the go-rpcgen tool and compile several specs, including NFS (rfc1813) and SUNRPC (rfc1057).

You will likely need to go install golang.org/x/tools/cmd/goyacc@latest to run make in order to re-generate the encoders and decoders.

There is an example client in example/client/main.go that connects to an NFS server and issues some NFS RPCs, and an example server in example/server/main.go.

Fuzzing the decoders

( cd rfc1057 && ulimit -d 1048576 && go test -v . -fuzz=Fuzz )
( cd rfc1813 && ulimit -d 1048576 && go test -v . -fuzz=Fuzz )

TODO

  • Validate that encoded/decoded enums match one of the allowed values.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published