Main update

This commit is contained in:
Gaulthier Gain 2022-09-09 11:44:12 +02:00
parent 4039686867
commit a7a3a7b140
46 changed files with 48081 additions and 55 deletions

5
.gitignore vendored
View file

@ -1,4 +1,7 @@
.idea/ .idea/
tools tools
*.patch *.patch
*.diff *.diff
/transfer.sh
/transfer_link.sh
/lds/

View file

@ -1,13 +1,13 @@
{ {
"unikernels": [ "unikernels": [
{ {
"buildPath": "/Users/unicore/buildCompare/lib-sqlite", "buildPath": "/home/gain/Documents/unikernels/apps/lib-nginx",
"ignoredPlats": [ "ignoredPlats": [
"linuxu", "linuxu",
"xen" "xen"
], ],
"kernel": "lib-sqlite3_kvm-x86_64.dbg", "kernel": "unikernel_kvm-x86_64.dbg",
"splitSection": ".text", "splitSections": [".text.*"],
"displayMapping": true, "displayMapping": true,
"displayStatSize": false, "displayStatSize": false,
"displayElfFile": [ "displayElfFile": [
@ -15,24 +15,24 @@
], ],
"displaySectionInfo": [], "displaySectionInfo": [],
"findSectionByAddress": [ "findSectionByAddress": [
"0x43a74e" "0x329000"
], ],
"compareGroup": 1 "compareGroup": 1
}, },
{ {
"buildPath": "/Users/unicore/buildCompare/app-helloworld", "buildPath": "/home/gain/Documents/unikernels/apps/lib-echoreply",
"ignoredPlats": [ "ignoredPlats": [
"linuxu", "linuxu",
"xen" "xen"
], ],
"kernel": "lib-redis_kvm-x86_64.dbg", "kernel": "unikernel_kvm-x86_64.dbg",
"splitSection": ".text", "splitSections": [".data"],
"displayElfFile": [], "displayElfFile": [],
"displayMapping": true, "displayMapping": true,
"displayStatSize": true, "displayStatSize": true,
"displaySectionInfo": [], "displaySectionInfo": [],
"findSectionByAddress": [ "findSectionByAddress": [
"0x427836" "0x329000"
], ],
"compareGroup": 1 "compareGroup": 1
} }

6
go.mod
View file

@ -3,10 +3,12 @@ module tools
go 1.16 go 1.16
require ( require (
github.com/AlecAivazis/survey/v2 v2.3.2 // indirect github.com/AlecAivazis/survey/v2 v2.3.4 // indirect
github.com/akamensky/argparse v1.3.1 // indirect github.com/akamensky/argparse v1.4.0 // indirect
github.com/awalterschulze/gographviz v2.0.3+incompatible // indirect github.com/awalterschulze/gographviz v2.0.3+incompatible // indirect
github.com/fatih/color v1.13.0 // indirect github.com/fatih/color v1.13.0 // indirect
github.com/knightsc/gapstone v4.0.1+incompatible // indirect github.com/knightsc/gapstone v4.0.1+incompatible // indirect
github.com/kr/pty v1.1.4 // indirect
github.com/sergi/go-diff v1.2.0 // indirect github.com/sergi/go-diff v1.2.0 // indirect
golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5 // indirect
) )

16
go.sum
View file

@ -1,15 +1,26 @@
github.com/AlecAivazis/survey/v2 v2.3.2 h1:TqTB+aDDCLYhf9/bD2TwSO8u8jDSmMUd2SUVO4gCnU8= github.com/AlecAivazis/survey/v2 v2.3.2 h1:TqTB+aDDCLYhf9/bD2TwSO8u8jDSmMUd2SUVO4gCnU8=
github.com/AlecAivazis/survey/v2 v2.3.2/go.mod h1:TH2kPCDU3Kqq7pLbnCWwZXDBjnhZtmsCle5EiYDJ2fg= github.com/AlecAivazis/survey/v2 v2.3.2/go.mod h1:TH2kPCDU3Kqq7pLbnCWwZXDBjnhZtmsCle5EiYDJ2fg=
github.com/AlecAivazis/survey/v2 v2.3.4 h1:pchTU9rsLUSvWEl2Aq9Pv3k0IE2fkqtGxazskAMd9Ng=
github.com/AlecAivazis/survey/v2 v2.3.4/go.mod h1:hrV6Y/kQCLhIZXGcriDCUBtB3wnN7156gMXJ3+b23xM=
github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8/go.mod h1:oX5x61PbNXchhh0oikYAH+4Pcfw5LKv21+Jnpr6r6Pc= github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8/go.mod h1:oX5x61PbNXchhh0oikYAH+4Pcfw5LKv21+Jnpr6r6Pc=
github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s=
github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w=
github.com/akamensky/argparse v1.3.1 h1:kP6+OyvR0fuBH6UhbE6yh/nskrDEIQgEA1SUXDPjx4g= github.com/akamensky/argparse v1.3.1 h1:kP6+OyvR0fuBH6UhbE6yh/nskrDEIQgEA1SUXDPjx4g=
github.com/akamensky/argparse v1.3.1/go.mod h1:S5kwC7IuDcEr5VeXtGPRVZ5o/FdhcMlQz4IZQuw64xA= github.com/akamensky/argparse v1.3.1/go.mod h1:S5kwC7IuDcEr5VeXtGPRVZ5o/FdhcMlQz4IZQuw64xA=
github.com/akamensky/argparse v1.4.0 h1:YGzvsTqCvbEZhL8zZu2AiA5nq805NZh75JNj4ajn1xc=
github.com/akamensky/argparse v1.4.0/go.mod h1:S5kwC7IuDcEr5VeXtGPRVZ5o/FdhcMlQz4IZQuw64xA=
github.com/awalterschulze/gographviz v2.0.3+incompatible h1:9sVEXJBJLwGX7EQVhLm2elIKCm7P2YHFC8v6096G09E= github.com/awalterschulze/gographviz v2.0.3+incompatible h1:9sVEXJBJLwGX7EQVhLm2elIKCm7P2YHFC8v6096G09E=
github.com/awalterschulze/gographviz v2.0.3+incompatible/go.mod h1:GEV5wmg4YquNw7v1kkyoX9etIk8yVmXj+AkDHuuETHs= github.com/awalterschulze/gographviz v2.0.3+incompatible/go.mod h1:GEV5wmg4YquNw7v1kkyoX9etIk8yVmXj+AkDHuuETHs=
github.com/creack/pty v1.1.17 h1:QeVUsEDNrLBW4tMgZHvxy18sKtr6VI492kBhUfhDJNI=
github.com/creack/pty v1.1.17/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w= github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w=
github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174/go.mod h1:DqJ97dSdRW1W22yXSB90986pcOyQ7r45iio1KN2ez1A= github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174/go.mod h1:DqJ97dSdRW1W22yXSB90986pcOyQ7r45iio1KN2ez1A=
github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec h1:qv2VnGeEQHchGaZ/u7lxST/RaJw+cv273q79D81Xbog=
github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68=
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs=
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8=
github.com/knightsc/gapstone v4.0.1+incompatible h1:yROPRgpqBWgD/7fyH3+AJ2hQR4gYfKNFGnKcNY8HPIA= github.com/knightsc/gapstone v4.0.1+incompatible h1:yROPRgpqBWgD/7fyH3+AJ2hQR4gYfKNFGnKcNY8HPIA=
@ -27,12 +38,15 @@ github.com/mattn/go-isatty v0.0.14 h1:yVuAays6BHfxijgZPzw+3Zlu5yQgKGP2/hcQbHb7S9
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4= github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4=
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE= github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ= github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=
github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
@ -54,3 +68,5 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c h1:dUUwHk2QECo/6vqA44rthZ8ie2QXMNeKRTHCNY2nXvo=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

1811
libs/external/lib-c-ares.json vendored Normal file

File diff suppressed because it is too large Load diff

175
libs/external/lib-libfxdiv.json vendored Normal file
View file

@ -0,0 +1,175 @@
{
"functions": [
{
"args_name": [
"n",
"divisor"
],
"args_type": [
"uint32_t",
"const struct fxdiv_divisor_uint32_t"
],
"fully_qualified": "fxdiv_quotient_uint32_t(uint32_t, const struct fxdiv_divisor_uint32_t)",
"headers": [
"<fxdiv.h>"
],
"location_file": [],
"name": "fxdiv_quotient_uint32_t",
"nb_args": 2,
"return_value": "uint32_t",
"usage": 0
},
{
"args_name": [
"n",
"divisor"
],
"args_type": [
"uint64_t",
"const struct fxdiv_divisor_uint64_t"
],
"fully_qualified": "fxdiv_quotient_uint64_t(uint64_t, const struct fxdiv_divisor_uint64_t)",
"headers": [
"<fxdiv.h>"
],
"location_file": [],
"name": "fxdiv_quotient_uint64_t",
"nb_args": 2,
"return_value": "uint64_t",
"usage": 0
},
{
"args_name": [
"n",
"divisor"
],
"args_type": [
"size_t",
"const struct fxdiv_divisor_size_t"
],
"fully_qualified": "fxdiv_quotient_size_t(size_t, const struct fxdiv_divisor_size_t)",
"headers": [
"<fxdiv.h>"
],
"location_file": [],
"name": "fxdiv_quotient_size_t",
"nb_args": 2,
"return_value": "size_t",
"usage": 0
},
{
"args_name": [
"n",
"granularity"
],
"args_type": [
"uint32_t",
"const struct fxdiv_divisor_uint32_t"
],
"fully_qualified": "fxdiv_round_down_uint32_t(uint32_t, const struct fxdiv_divisor_uint32_t)",
"headers": [
"<fxdiv.h>"
],
"location_file": [],
"name": "fxdiv_round_down_uint32_t",
"nb_args": 2,
"return_value": "uint32_t",
"usage": 0
},
{
"args_name": [
"n",
"granularity"
],
"args_type": [
"uint64_t",
"const struct fxdiv_divisor_uint64_t"
],
"fully_qualified": "fxdiv_round_down_uint64_t(uint64_t, const struct fxdiv_divisor_uint64_t)",
"headers": [
"<fxdiv.h>"
],
"location_file": [],
"name": "fxdiv_round_down_uint64_t",
"nb_args": 2,
"return_value": "fxdiv_result_uint64_t",
"usage": 0
},
{
"args_name": [
"n",
"divisor"
],
"args_type": [
"size_t",
"const struct fxdiv_divisor_size_t"
],
"fully_qualified": "fxdiv_round_down_size_t(size_t, const struct fxdiv_divisor_size_t)",
"headers": [
"<fxdiv.h>"
],
"location_file": [],
"name": "fxdiv_round_down_size_t",
"nb_args": 2,
"return_value": "fxdiv_result_size_t",
"usage": 0
},
{
"args_name": [
"n",
"divisor"
],
"args_type": [
"uint32_t",
"const struct fxdiv_divisor_uint32_t"
],
"fully_qualified": "fxdiv_divide_uint32_t(uint32_t, const struct fxdiv_divisor_uint32_t)",
"headers": [
"<fxdiv.h>"
],
"location_file": [],
"name": "fxdiv_divide_uint32_t",
"nb_args": 2,
"return_value": "fxdiv_result_uint32_t",
"usage": 0
},
{
"args_name": [
"n",
"divisor"
],
"args_type": [
"uint64_t",
"const struct fxdiv_divisor_uint64_t"
],
"fully_qualified": "fxdiv_divide_uint64_t(uint64_t, const struct fxdiv_divisor_uint64_t)",
"headers": [
"<fxdiv.h>"
],
"location_file": [],
"name": "fxdiv_divide_uint64_t",
"nb_args": 2,
"return_value": "fxdiv_result_uint64_t",
"usage": 0
},
{
"args_name": [
"n",
"divisor"
],
"args_type": [
"size_t",
"const struct fxdiv_divisor_size_t"
],
"fully_qualified": "fxdiv_divide_size_t(size_t, const struct fxdiv_divisor_size_t)",
"headers": [
"<fxdiv.h>"
],
"location_file": [],
"name": "fxdiv_divide_size_t",
"nb_args": 2,
"return_value": "fxdiv_result_size_t",
"usage": 0
}
]
}

9386
libs/external/lib-libsodium.json vendored Normal file

File diff suppressed because it is too large Load diff

295
libs/external/lib-libuuid.json vendored Normal file
View file

@ -0,0 +1,295 @@
{
"functions": [
{
"args_name": [
"uu1",
"uu2"
],
"args_type": [
"const uuid_t",
"const uuid_t"
],
"fully_qualified": "uuid_compare(const uuid_t, const uuid_t)",
"headers": [
"<uuid.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libuuid/origin/libuuid-1.0.3//compare.c"
],
"name": "uuid_compare",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"uu"
],
"args_type": [
"uuid_t"
],
"fully_qualified": "uuid_clear(uuid_t)",
"headers": [
"<uuid.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libuuid/origin/libuuid-1.0.3//clear.c"
],
"name": "uuid_clear",
"nb_args": 1,
"return_value": "void",
"usage": 1
},
{
"args_name": [
"out"
],
"args_type": [
"uuid_t"
],
"fully_qualified": "uuid_generate_time(uuid_t)",
"headers": [
"<uuid.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libuuid/origin/libuuid-1.0.3//gen_uuid.c"
],
"name": "uuid_generate_time",
"nb_args": 1,
"return_value": "void",
"usage": 1
},
{
"args_name": [
"out"
],
"args_type": [
"uuid_t"
],
"fully_qualified": "uuid_generate_time_safe(uuid_t)",
"headers": [
"<uuid.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libuuid/origin/libuuid-1.0.3//gen_uuid.c"
],
"name": "uuid_generate_time_safe",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"out"
],
"args_type": [
"uuid_t"
],
"fully_qualified": "uuid_generate_random(uuid_t)",
"headers": [
"<uuid.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libuuid/origin/libuuid-1.0.3//gen_uuid.c"
],
"name": "uuid_generate_random",
"nb_args": 1,
"return_value": "void",
"usage": 1
},
{
"args_name": [
"out"
],
"args_type": [
"uuid_t"
],
"fully_qualified": "uuid_generate(uuid_t)",
"headers": [
"<uuid.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libuuid/origin/libuuid-1.0.3//gen_uuid.c"
],
"name": "uuid_generate",
"nb_args": 1,
"return_value": "void",
"usage": 1
},
{
"args_name": [
"in",
"uu"
],
"args_type": [
"const char *",
"uuid_t"
],
"fully_qualified": "uuid_parse(const char *, uuid_t)",
"headers": [
"<uuid.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libuuid/origin/libuuid-1.0.3//parse.c"
],
"name": "uuid_parse",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"uu",
"ret_tv"
],
"args_type": [
"const uuid_t",
"struct timeval *"
],
"fully_qualified": "uuid_time(const uuid_t, struct timeval *)",
"headers": [
"<uuid.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libuuid/origin/libuuid-1.0.3//uuid_time.c"
],
"name": "uuid_time",
"nb_args": 2,
"return_value": "time_t",
"usage": 1
},
{
"args_name": [
"uu"
],
"args_type": [
"const uuid_t"
],
"fully_qualified": "uuid_type(const uuid_t)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libuuid/origin/libuuid-1.0.3//uuid_time.c"
],
"name": "uuid_type",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"uu"
],
"args_type": [
"const uuid_t"
],
"fully_qualified": "uuid_variant(const uuid_t)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libuuid/origin/libuuid-1.0.3//uuid_time.c"
],
"name": "uuid_variant",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"uu"
],
"args_type": [
"const uuid_t"
],
"fully_qualified": "uuid_is_null(const uuid_t)",
"headers": [
"<uuid.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libuuid/origin/libuuid-1.0.3//isnull.c"
],
"name": "uuid_is_null",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"uu",
"out"
],
"args_type": [
"const uuid_t",
"char *"
],
"fully_qualified": "uuid_unparse_lower(const uuid_t, char *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libuuid/origin/libuuid-1.0.3//unparse.c"
],
"name": "uuid_unparse_lower",
"nb_args": 2,
"return_value": "void",
"usage": 1
},
{
"args_name": [
"uu",
"out"
],
"args_type": [
"const uuid_t",
"char *"
],
"fully_qualified": "uuid_unparse_upper(const uuid_t, char *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libuuid/origin/libuuid-1.0.3//unparse.c"
],
"name": "uuid_unparse_upper",
"nb_args": 2,
"return_value": "void",
"usage": 1
},
{
"args_name": [
"uu",
"out"
],
"args_type": [
"const uuid_t",
"char *"
],
"fully_qualified": "uuid_unparse(const uuid_t, char *)",
"headers": [
"<uuid.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libuuid/origin/libuuid-1.0.3//unparse.c"
],
"name": "uuid_unparse",
"nb_args": 2,
"return_value": "void",
"usage": 1
},
{
"args_name": [
"dst",
"src"
],
"args_type": [
"uuid_t",
"const uuid_t"
],
"fully_qualified": "uuid_copy(uuid_t, const uuid_t)",
"headers": [
"<uuid.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libuuid/origin/libuuid-1.0.3//copy.c"
],
"name": "uuid_copy",
"nb_args": 2,
"return_value": "void",
"usage": 1
}
]
}

4047
libs/external/lib-lvgl.json vendored Normal file

File diff suppressed because it is too large Load diff

1351
libs/external/lib-lwip.json vendored Normal file

File diff suppressed because it is too large Load diff

16563
libs/external/lib-newlib.json vendored Normal file

File diff suppressed because it is too large Load diff

722
libs/external/lib-pcre.json vendored Normal file
View file

@ -0,0 +1,722 @@
{
"functions": [
{
"args_name": [
"argument_re",
"extra_data",
"tables"
],
"args_type": [
"pcre *",
"pcre_extra *",
"const unsigned char *"
],
"fully_qualified": "pcre_pattern_to_host_byte_order(pcre *, pcre_extra *, const unsigned char *)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_byte_order.c",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h"
],
"name": "pcre_pattern_to_host_byte_order",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"argument_re",
"adjust"
],
"args_type": [
"pcre *",
"int"
],
"fully_qualified": "pcre_refcount(pcre *, int)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_refcount.c",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h"
],
"name": "pcre_refcount",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "pcre_maketables()",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_maketables.c",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h"
],
"name": "pcre_maketables",
"nb_args": 0,
"return_value": "const unsigned char *",
"usage": 2
},
{
"args_name": [
"pattern",
"options",
"errorptr",
"erroroffset",
"tables"
],
"args_type": [
"const char *",
"int",
"const char **",
"int *",
"const unsigned char *"
],
"fully_qualified": "pcre_compile(const char *, int, const char **, int *, const unsigned char *)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_compile.c",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h"
],
"name": "pcre_compile",
"nb_args": 5,
"return_value": "pcre *",
"usage": 2
},
{
"args_name": [
"pattern",
"options",
"errorcodeptr",
"errorptr",
"erroroffset",
"tables"
],
"args_type": [
"const char *",
"int",
"int *",
"const char **",
"int *",
"const unsigned char *"
],
"fully_qualified": "pcre_compile2(const char *, int, int *, const char **, int *, const unsigned char *)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_compile.c",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h"
],
"name": "pcre_compile2",
"nb_args": 6,
"return_value": "pcre *",
"usage": 2
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "pcre_version()",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_version.c",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h"
],
"name": "pcre_version",
"nb_args": 0,
"return_value": "const char *",
"usage": 2
},
{
"args_name": [
"argument_re",
"extra_data",
"subject",
"length",
"start_offset",
"options",
"offsets",
"offsetcount",
"workspace",
"wscount"
],
"args_type": [
"const pcre *",
"const pcre_extra *",
"const char *",
"int",
"int",
"int",
"int *",
"int",
"int *",
"int"
],
"fully_qualified": "pcre_dfa_exec(const pcre *, const pcre_extra *, const char *, int, int, int, int *, int, int *, int)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_dfa_exec.c",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h"
],
"name": "pcre_dfa_exec",
"nb_args": 10,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"external_re",
"options",
"errorptr"
],
"args_type": [
"const pcre *",
"int",
"const char **"
],
"fully_qualified": "pcre_study(const pcre *, int, const char **)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_study.c",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h"
],
"name": "pcre_study",
"nb_args": 3,
"return_value": "pcre_extra *",
"usage": 2
},
{
"args_name": [
"extra"
],
"args_type": [
"pcre_extra *"
],
"fully_qualified": "pcre_free_study(pcre_extra *)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_study.c",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h"
],
"name": "pcre_free_study",
"nb_args": 1,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"argument_re",
"extra_data",
"what",
"where"
],
"args_type": [
"const pcre *",
"const pcre_extra *",
"int",
"void *"
],
"fully_qualified": "pcre_fullinfo(const pcre *, const pcre_extra *, int, void *)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_fullinfo.c",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h"
],
"name": "pcre_fullinfo",
"nb_args": 4,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"arg_regext",
"arg_constchar",
"arg_int"
],
"args_type": [
"regex_t *",
"const char *",
"int"
],
"fully_qualified": "regcomp(regex_t *, const char *, int)",
"headers": [
"<sys/types.h>",
"<regex.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcreposix.h",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcreposix.c"
],
"name": "regcomp",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"arg_constregext",
"arg_constchar",
"size_t",
"arg_regmatcht",
"arg_int"
],
"args_type": [
"const regex_t *",
"const char *",
"int",
"regmatch_t *",
"int"
],
"fully_qualified": "regexec(const regex_t *, const char *, int, regmatch_t *, int)",
"headers": [
"<sys/types.h>",
"<regex.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcreposix.h",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcreposix.c"
],
"name": "regexec",
"nb_args": 5,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"arg_int",
"arg_constregext",
"arg_char",
"size_t"
],
"args_type": [
"int",
"const regex_t *",
"char *",
"int"
],
"fully_qualified": "regerror(int, const regex_t *, char *, int)",
"headers": [
"<sys/types.h>",
"<regex.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcreposix.h",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcreposix.c"
],
"name": "regerror",
"nb_args": 4,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"arg_regext"
],
"args_type": [
"regex_t *"
],
"fully_qualified": "regfree(regex_t *)",
"headers": [
"<sys/types.h>",
"<regex.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcreposix.h",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcreposix.c"
],
"name": "regfree",
"nb_args": 1,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"what",
"where"
],
"args_type": [
"int",
"void *"
],
"fully_qualified": "pcre_config(int, void *)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_config.c",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h"
],
"name": "pcre_config",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"startsize",
"maxsize"
],
"args_type": [
"int",
"int"
],
"fully_qualified": "pcre_jit_stack_alloc(int, int)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_jit_compile.c",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h"
],
"name": "pcre_jit_stack_alloc",
"nb_args": 2,
"return_value": "pcre_jit_stack *",
"usage": 2
},
{
"args_name": [
"stack"
],
"args_type": [
"pcre_jit_stack *"
],
"fully_qualified": "pcre_jit_stack_free(pcre_jit_stack *)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_jit_compile.c",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h"
],
"name": "pcre_jit_stack_free",
"nb_args": 1,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"extra",
"callback",
"userdata"
],
"args_type": [
"pcre_extra *",
"pcre_jit_callback",
"void *"
],
"fully_qualified": "pcre_assign_jit_stack(pcre_extra *, pcre_jit_callback, void *)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_jit_compile.c",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h"
],
"name": "pcre_assign_jit_stack",
"nb_args": 3,
"return_value": "void",
"usage": 2
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "pcre_jit_free_unused_memory()",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_jit_compile.c",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h"
],
"name": "pcre_jit_free_unused_memory",
"nb_args": 0,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"argument_re",
"extra_data",
"subject",
"length",
"start_offset",
"options",
"offsets",
"offsetcount"
],
"args_type": [
"const pcre *",
"const pcre_extra *",
"const char *",
"int",
"int",
"int",
"int *",
"int"
],
"fully_qualified": "pcre_exec(const pcre *, const pcre_extra *, const char *, int, int, int, int *, int)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_exec.c",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h"
],
"name": "pcre_exec",
"nb_args": 8,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"arg_constpcre",
"arg_constchar",
"arg_int",
"arg_int",
"arg_constchar",
"arg_char",
"arg_int"
],
"args_type": [
"const pcre *",
"const char *",
"int *",
"int",
"const char *",
"char *",
"int"
],
"fully_qualified": "pcre_copy_named_substring(const pcre *, const char *, int *, int, const char *, char *, int)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_get.c"
],
"name": "pcre_copy_named_substring",
"nb_args": 7,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"arg_constchar",
"arg_int",
"arg_int",
"arg_int",
"arg_char",
"arg_int"
],
"args_type": [
"const char *",
"int *",
"int",
"int",
"char *",
"int"
],
"fully_qualified": "pcre_copy_substring(const char *, int *, int, int, char *, int)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_get.c"
],
"name": "pcre_copy_substring",
"nb_args": 6,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"arg_constchar"
],
"args_type": [
"const char *"
],
"fully_qualified": "pcre_free_substring(const char *)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_get.c"
],
"name": "pcre_free_substring",
"nb_args": 1,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"arg_constchar"
],
"args_type": [
"const char **"
],
"fully_qualified": "pcre_free_substring_list(const char **)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_get.c"
],
"name": "pcre_free_substring_list",
"nb_args": 1,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"arg_constpcre",
"arg_constchar",
"arg_int",
"arg_int",
"arg_constchar",
"arg_constchar"
],
"args_type": [
"const pcre *",
"const char *",
"int *",
"int",
"const char *",
"const char **"
],
"fully_qualified": "pcre_get_named_substring(const pcre *, const char *, int *, int, const char *, const char **)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_get.c"
],
"name": "pcre_get_named_substring",
"nb_args": 6,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"arg_constpcre",
"arg_constchar"
],
"args_type": [
"const pcre *",
"const char *"
],
"fully_qualified": "pcre_get_stringnumber(const pcre *, const char *)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_get.c"
],
"name": "pcre_get_stringnumber",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"arg_constpcre",
"arg_constchar",
"arg_char",
"arg_char"
],
"args_type": [
"const pcre *",
"const char *",
"char **",
"char **"
],
"fully_qualified": "pcre_get_stringtable_entries(const pcre *, const char *, char **, char **)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_get.c"
],
"name": "pcre_get_stringtable_entries",
"nb_args": 4,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"arg_constchar",
"arg_int",
"arg_int",
"arg_int",
"arg_constchar"
],
"args_type": [
"const char *",
"int *",
"int",
"int",
"const char **"
],
"fully_qualified": "pcre_get_substring(const char *, int *, int, int, const char **)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_get.c"
],
"name": "pcre_get_substring",
"nb_args": 5,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"arg_constchar",
"arg_int",
"arg_int",
"arg_constchar"
],
"args_type": [
"const char *",
"int *",
"int",
"const char ***"
],
"fully_qualified": "pcre_get_substring_list(const char *, int *, int, const char ***)",
"headers": [
"<pcre.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre.h",
"/home/gain/dev/workdir_unikraft/apps/lib-remove/build/libpcre/origin/pcre-8.43//pcre_get.c"
],
"name": "pcre_get_substring_list",
"nb_args": 4,
"return_value": "int",
"usage": 2
}
]
}

1289
libs/external/lib-pthread-embedded.json vendored Normal file

File diff suppressed because it is too large Load diff

1782
libs/external/lib-zlib.json vendored Normal file

File diff suppressed because it is too large Load diff

188
libs/internal/devfs.json Normal file
View file

@ -0,0 +1,188 @@
{
"functions": [
{
"args_name": [
"dev",
"name",
"flags"
],
"args_type": [
"struct device *",
"const char *",
"int"
],
"fully_qualified": "device_register(struct device *, const char *, int)",
"headers": [
"<devfs/device.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/devfs/device.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/devfs/include/devfs/device.h"
],
"name": "device_register",
"nb_args": 3,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"drv",
"name",
"flags"
],
"args_type": [
"struct driver *",
"const char *",
"int"
],
"fully_qualified": "device_create(struct driver *, const char *, int)",
"headers": [
"<devfs/device.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/devfs/device.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/devfs/include/devfs/device.h"
],
"name": "device_create",
"nb_args": 3,
"return_value": "struct device *",
"usage": 2
},
{
"args_name": [
"name",
"mode",
"devp"
],
"args_type": [
"const char *",
"int",
"struct device **"
],
"fully_qualified": "device_open(const char *, int, struct device **)",
"headers": [
"<devfs/device.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/devfs/device.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/devfs/include/devfs/device.h"
],
"name": "device_open",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev"
],
"args_type": [
"struct device *"
],
"fully_qualified": "device_close(struct device *)",
"headers": [
"<devfs/device.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/devfs/device.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/devfs/include/devfs/device.h"
],
"name": "device_close",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"uio",
"ioflags"
],
"args_type": [
"struct device *",
"struct uio *",
"int"
],
"fully_qualified": "device_read(struct device *, struct uio *, int)",
"headers": [
"<devfs/device.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/devfs/device.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/devfs/include/devfs/device.h"
],
"name": "device_read",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"uio",
"ioflags"
],
"args_type": [
"struct device *",
"struct uio *",
"int"
],
"fully_qualified": "device_write(struct device *, struct uio *, int)",
"headers": [
"<devfs/device.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/devfs/device.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/devfs/include/devfs/device.h"
],
"name": "device_write",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"cmd",
"arg"
],
"args_type": [
"struct device *",
"unsigned long",
"void *"
],
"fully_qualified": "device_ioctl(struct device *, unsigned long, void *)",
"headers": [
"<devfs/device.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/devfs/device.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/devfs/include/devfs/device.h"
],
"name": "device_ioctl",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"info"
],
"args_type": [
"struct devinfo *"
],
"fully_qualified": "device_info(struct devinfo *)",
"headers": [
"<devfs/device.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/devfs/device.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/devfs/include/devfs/device.h"
],
"name": "device_info",
"nb_args": 1,
"return_value": "int",
"usage": 2
}
]
}

1555
libs/internal/fdt.json Normal file

File diff suppressed because it is too large Load diff

464
libs/internal/isrlib.json Normal file
View file

@ -0,0 +1,464 @@
{
"functions": [
{
"args_name": [
"dst",
"src",
"len"
],
"args_type": [
"void *",
"const void *",
"int"
],
"fully_qualified": "memcpy_isr(void *, const void *, int)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "memcpy_isr",
"nb_args": 3,
"return_value": "void *",
"usage": 2
},
{
"args_name": [
"ptr",
"val",
"len"
],
"args_type": [
"void *",
"int",
"int"
],
"fully_qualified": "memset_isr(void *, int, int)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "memset_isr",
"nb_args": 3,
"return_value": "void *",
"usage": 2
},
{
"args_name": [
"ptr",
"val",
"len"
],
"args_type": [
"const void *",
"int",
"int"
],
"fully_qualified": "memchr_isr(const void *, int, int)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "memchr_isr",
"nb_args": 3,
"return_value": "void *",
"usage": 2
},
{
"args_name": [
"m",
"c",
"n"
],
"args_type": [
"const void *",
"int",
"int"
],
"fully_qualified": "memrchr_isr(const void *, int, int)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "memrchr_isr",
"nb_args": 3,
"return_value": "void *",
"usage": 2
},
{
"args_name": [
"dst",
"src",
"len"
],
"args_type": [
"void *",
"const void *",
"int"
],
"fully_qualified": "memmove_isr(void *, const void *, int)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "memmove_isr",
"nb_args": 3,
"return_value": "void *",
"usage": 2
},
{
"args_name": [
"ptr1",
"ptr2",
"len"
],
"args_type": [
"const void *",
"const void *",
"int"
],
"fully_qualified": "memcmp_isr(const void *, const void *, int)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "memcmp_isr",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"str"
],
"args_type": [
"const char *"
],
"fully_qualified": "strlen_isr(const char *)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "strlen_isr",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"str",
"len"
],
"args_type": [
"const char *",
"int"
],
"fully_qualified": "strnlen_isr(const char *, int)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "strnlen_isr",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dst",
"src",
"len"
],
"args_type": [
"char *",
"const char *",
"int"
],
"fully_qualified": "strncpy_isr(char *, const char *, int)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "strncpy_isr",
"nb_args": 3,
"return_value": "char *",
"usage": 2
},
{
"args_name": [
"dst",
"src"
],
"args_type": [
"char *",
"const char *"
],
"fully_qualified": "strcpy_isr(char *, const char *)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "strcpy_isr",
"nb_args": 2,
"return_value": "char *",
"usage": 2
},
{
"args_name": [
"str1",
"str2",
"len"
],
"args_type": [
"const char *",
"const char *",
"int"
],
"fully_qualified": "strncmp_isr(const char *, const char *, int)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "strncmp_isr",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"str1",
"str2"
],
"args_type": [
"const char *",
"const char *"
],
"fully_qualified": "strcmp_isr(const char *, const char *)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "strcmp_isr",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"s",
"c"
],
"args_type": [
"const char *",
"int"
],
"fully_qualified": "strchrnul_isr(const char *, int)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "strchrnul_isr",
"nb_args": 2,
"return_value": "char *",
"usage": 2
},
{
"args_name": [
"str",
"c"
],
"args_type": [
"const char *",
"int"
],
"fully_qualified": "strchr_isr(const char *, int)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "strchr_isr",
"nb_args": 2,
"return_value": "char *",
"usage": 2
},
{
"args_name": [
"s",
"c"
],
"args_type": [
"const char *",
"int"
],
"fully_qualified": "strrchr_isr(const char *, int)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "strrchr_isr",
"nb_args": 2,
"return_value": "char *",
"usage": 2
},
{
"args_name": [
"s",
"c"
],
"args_type": [
"const char *",
"const char *"
],
"fully_qualified": "strcspn_isr(const char *, const char *)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "strcspn_isr",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"s",
"c"
],
"args_type": [
"const char *",
"const char *"
],
"fully_qualified": "strspn_isr(const char *, const char *)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "strspn_isr",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"s",
"sep",
"p"
],
"args_type": [
"char *restrict",
"const char *restrict",
"char **restrict"
],
"fully_qualified": "strtok_isr(char *restrict, const char *restrict, char **restrict)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "strtok_isr",
"nb_args": 3,
"return_value": "char *",
"usage": 2
},
{
"args_name": [
"d",
"s",
"n"
],
"args_type": [
"char *",
"const char *",
"int"
],
"fully_qualified": "strlcpy_isr(char *, const char *, int)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "strlcpy_isr",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"d",
"s",
"n"
],
"args_type": [
"char *",
"const char *",
"int"
],
"fully_qualified": "strlcat_isr(char *, const char *, int)",
"headers": [
"<uk/isr/string.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/string.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/isrlib/include/uk/isr/string.h"
],
"name": "strlcat_isr",
"nb_args": 3,
"return_value": "int",
"usage": 2
}
]
}

View file

@ -0,0 +1,160 @@
{
"functions": [
{
"args_name": [
"filename",
"flags"
],
"args_type": [
"const char *",
"int"
],
"fully_qualified": "dlopen(const char *, int)",
"headers": [
"<dlfcn.h>",
"<stdio.h>",
"<stdlib.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-libdl/stubs.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-libdl/include/dlfcn.h"
],
"name": "dlopen",
"nb_args": 2,
"return_value": "void *",
"usage": 2
},
{
"args_name": [
"handle"
],
"args_type": [
"void *"
],
"fully_qualified": "dlclose(void *)",
"headers": [
"<dlfcn.h>",
"<stdio.h>",
"<stdlib.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-libdl/stubs.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-libdl/include/dlfcn.h"
],
"name": "dlclose",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"handle",
"symbol"
],
"args_type": [
"void *",
"const char *"
],
"fully_qualified": "dlsym(void *, const char *)",
"headers": [
"<dlfcn.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-libdl/stubs.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-libdl/include/dlfcn.h"
],
"name": "dlsym",
"nb_args": 1,
"return_value": "void *",
"usage": 2
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "dlerror()",
"headers": [
"<dlfcn.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-libdl/stubs.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-libdl/include/dlfcn.h"
],
"name": "dlerror",
"nb_args": 0,
"return_value": "char *",
"usage": 2
},
{
"args_name": [
"addr",
"info"
],
"args_type": [
"const void *",
"Dl_info *"
],
"fully_qualified": "dladdr(const void *, Dl_info *)",
"headers": [
"<dlfcn.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-libdl/stubs.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-libdl/include/dlfcn.h"
],
"name": "dladdr",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"handle",
"request",
"info"
],
"args_type": [
"void *",
"int",
"void *"
],
"fully_qualified": "dlinfo(void *,int, void*)",
"headers": [
"<dlfcn.h>",
"<stdio.h>",
"<stdlib.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-libdl/stubs.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-libdl/include/dlfcn.h"
],
"name": "dlinfo",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"handle",
"symbol",
"version"
],
"args_type": [
"void *",
"const char *",
"const char *"
],
"fully_qualified": "dlvsym(void *, const char *, const char *)",
"headers": [
"<dlfcn.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-libdl/stubs.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-libdl/include/dlfcn.h"
],
"name": "dlvsym",
"nb_args": 1,
"return_value": "void *",
"usage": 2
}
]
}

View file

@ -0,0 +1,671 @@
{
"functions": [
{
"args_name": [],
"args_type": [],
"fully_qualified": "fork()",
"headers": [
"<sys/types.h>",
"<sys/prctl.h>",
"<sys/resource.h>",
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "fork",
"nb_args": 0,
"return_value": "int",
"usage": 1
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "vfork()",
"headers": [
"<sys/types.h>",
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "vfork",
"nb_args": 0,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"path",
"arg"
],
"args_type": [
"const char *",
"const char *"
],
"fully_qualified": "execl(const char *, const char *, ...)",
"headers": [
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "execl",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"file",
"arg"
],
"args_type": [
"const char *",
"const char *"
],
"fully_qualified": "execlp(const char *, const char *, ...)",
"headers": [
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "execlp",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"path",
"arg"
],
"args_type": [
"const char *",
"const char *"
],
"fully_qualified": "execle(const char *, const char *, ...)",
"headers": [
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "execle",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"path",
"argv",
"envp"
],
"args_type": [
"const char *",
"char *const []",
"char *const []"
],
"fully_qualified": "execve(const char *, char *const *, char *const *)",
"headers": [
"<unistd.h>",
"<stdio.h>",
"<stdlib.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "execve",
"nb_args": 3,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"path",
"argv"
],
"args_type": [
"const char *",
"char *const []"
],
"fully_qualified": "execv(const char *, char *const *)",
"headers": [
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "execv",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"file",
"argv"
],
"args_type": [
"const char *",
"char *const []"
],
"fully_qualified": "execvp(const char *, char *const *)",
"headers": [
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "execvp",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"file",
"argv",
"envp"
],
"args_type": [
"const char *",
"char *const []",
"char *const []"
],
"fully_qualified": "execvpe(const char *, char *const *, char *const *)",
"headers": [
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "execvpe",
"nb_args": 3,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"command"
],
"args_type": [
"const char *"
],
"fully_qualified": "system(const char *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "system",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"command",
"type"
],
"args_type": [
"const char *",
"const char *"
],
"fully_qualified": "popen(const char *, const char *)",
"headers": [
"<stdio.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "popen",
"nb_args": 2,
"return_value": "FILE *",
"usage": 1
},
{
"args_name": [
"stream"
],
"args_type": [
"FILE *"
],
"fully_qualified": "pclose(FILE *)",
"headers": [
"<stdio.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "pclose",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"status"
],
"args_type": [
"int *"
],
"fully_qualified": "wait(int *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "wait",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"pid",
"wstatus",
"options"
],
"args_type": [
"pid_t",
"int *",
"int"
],
"fully_qualified": "waitpid(pid_t)",
"headers": [
"<sys/types.h>",
"<stdlib.h>",
"<unistd.h>",
"<stdio.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "waitpid",
"nb_args": 1,
"return_value": "pid_t",
"usage": 1
},
{
"args_name": [
"wstatus",
"options",
"rusage"
],
"args_type": [
"int *",
"int",
"struct rusage *"
],
"fully_qualified": "wait3(int *)",
"headers": [
"<sys/types.h>",
"<sys/time.h>",
"<sys/resource.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "wait3",
"nb_args": 1,
"return_value": "pid_t",
"usage": 1
},
{
"args_name": [
"pid",
"wstatus",
"options",
"rusage"
],
"args_type": [
"pid_t",
"int *",
"int",
"struct rusage *"
],
"fully_qualified": "wait4(pid_t)",
"headers": [
"<sys/types.h>",
"<sys/time.h>",
"<sys/resource.h>",
"<time.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "wait4",
"nb_args": 1,
"return_value": "pid_t",
"usage": 1
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "setpgrp()",
"headers": [
"<sys/types.h>",
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "setpgrp",
"nb_args": 0,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"fd",
"pgrp"
],
"args_type": [
"int",
"pid_t"
],
"fully_qualified": "tcsetpgrp(int)",
"headers": [
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "tcsetpgrp",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"fd"
],
"args_type": [
"int"
],
"fully_qualified": "tcgetpgrp(int)",
"headers": [
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "tcgetpgrp",
"nb_args": 1,
"return_value": "pid_t",
"usage": 1
},
{
"args_name": [
"inc"
],
"args_type": [
"int"
],
"fully_qualified": "nice(int)",
"headers": [
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c"
],
"name": "nice",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"option"
],
"args_type": [
"int"
],
"fully_qualified": "prctl(int)",
"headers": [
"<sys/prctl.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/process.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/include/sys/prctl.h"
],
"name": "prctl",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "getpid()",
"headers": [
"<sys/types.h>",
"<unistd.h>"
],
"location_file": [],
"name": "getpid",
"nb_args": 0,
"return_value": "int",
"usage": 1
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "getppid()",
"headers": [
"<sys/types.h>",
"<unistd.h>"
],
"location_file": [],
"name": "getppid",
"nb_args": 0,
"return_value": "pid_t",
"usage": 1
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "setsid()",
"headers": [
"<sys/types.h>",
"<unistd.h>"
],
"location_file": [],
"name": "setsid",
"nb_args": 0,
"return_value": "pid_t",
"usage": 1
},
{
"args_name": [
"pid"
],
"args_type": [
"pid_t"
],
"fully_qualified": "getsid(pid_t)",
"headers": [
"<sys/types.h>",
"<unistd.h>"
],
"location_file": [],
"name": "getsid",
"nb_args": 1,
"return_value": "pid_t",
"usage": 1
},
{
"args_name": [
"pid",
"pgid"
],
"args_type": [
"pid_t",
"pid_t"
],
"fully_qualified": "setpgid(pid_t,pid_t)",
"headers": [
"<sys/types.h>",
"<unistd.h>"
],
"location_file": [],
"name": "setpgid",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"pid"
],
"args_type": [
"pid_t"
],
"fully_qualified": "getpgid(pid_t)",
"headers": [
"<sys/types.h>",
"<unistd.h>"
],
"location_file": [],
"name": "getpgid",
"nb_args": 1,
"return_value": "pid_t",
"usage": 1
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "getpgrp()",
"headers": [
"<sys/types.h>",
"<unistd.h>"
],
"location_file": [],
"name": "getpgrp",
"nb_args": 0,
"return_value": "pid_t",
"usage": 1
},
{
"args_name": [
"which",
"who"
],
"args_type": [
"int",
"id_t"
],
"fully_qualified": "getpriority(int,id_t)",
"headers": [
"<sys/time.h>",
"<sys/resource.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/musl-imported/include/sys/resource.h"
],
"name": "getpriority",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"which",
"who",
"prio"
],
"args_type": [
"int",
"id_t",
"int"
],
"fully_qualified": "setpriority(int,id_t,int)",
"headers": [
"<sys/time.h>",
"<sys/resource.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/musl-imported/include/sys/resource.h"
],
"name": "setpriority",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"arg_int",
"arg_structrlimit"
],
"args_type": [
"int",
"struct rlimit *"
],
"fully_qualified": "getrlimit(int, struct rlimit *)",
"headers": [
"<sys/time.h>",
"<sys/resource.h>",
"<stdio.h>",
"<time.h>",
"<stdlib.h>",
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/musl-imported/include/sys/resource.h"
],
"name": "getrlimit",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"arg_int",
"arg_conststructrlimit"
],
"args_type": [
"int",
"const struct rlimit *"
],
"fully_qualified": "setrlimit(int, const struct rlimit *)",
"headers": [
"<sys/time.h>",
"<sys/resource.h>",
"<stdio.h>",
"<time.h>",
"<stdlib.h>",
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/musl-imported/include/sys/resource.h"
],
"name": "setrlimit",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"arg_int",
"arg_structrusage"
],
"args_type": [
"int",
"struct rusage *"
],
"fully_qualified": "getrusage(int, struct rusage *)",
"headers": [
"<sys/time.h>",
"<sys/resource.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-process/musl-imported/include/sys/resource.h"
],
"name": "getrusage",
"nb_args": 2,
"return_value": "int",
"usage": 1
}
]
}

View file

@ -0,0 +1,180 @@
{
"functions": [
{
"args_name": [
"info"
],
"args_type": [
"struct sysinfo *"
],
"fully_qualified": "sysinfo(struct sysinfo *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-sysinfo/sysinfo.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-sysinfo/include/sys/sysinfo.h"
],
"name": "sysinfo",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"fd",
"name"
],
"args_type": [
"int",
"int"
],
"fully_qualified": "fpathconf(int, int)",
"headers": [
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-sysinfo/sysinfo.c"
],
"name": "fpathconf",
"nb_args": 1,
"return_value": "long",
"usage": 1
},
{
"args_name": [
"path",
"name"
],
"args_type": [
"const char *",
"int"
],
"fully_qualified": "pathconf(const char *, int)",
"headers": [
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-sysinfo/sysinfo.c"
],
"name": "pathconf",
"nb_args": 1,
"return_value": "long",
"usage": 1
},
{
"args_name": [
"name"
],
"args_type": [
"int"
],
"fully_qualified": "sysconf(int)",
"headers": [
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-sysinfo/sysinfo.c"
],
"name": "sysconf",
"nb_args": 1,
"return_value": "long",
"usage": 1
},
{
"args_name": [
"name",
"buf",
"len"
],
"args_type": [
"int",
"char*",
"size_t"
],
"fully_qualified": "confstr(int)",
"headers": [
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-sysinfo/sysinfo.c"
],
"name": "confstr",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "getpagesize()",
"headers": [
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-sysinfo/sysinfo.c"
],
"name": "getpagesize",
"nb_args": 0,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"name",
"len"
],
"args_type": [
"char *",
"int"
],
"fully_qualified": "gethostname(char *, int)",
"headers": [
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-sysinfo/sysinfo.c"
],
"name": "gethostname",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"buf"
],
"args_type": [
"struct utsname *"
],
"fully_qualified": "uname(struct utsname *)",
"headers": [
"<sys/utsname.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-sysinfo/include/sys/utsname.h"
],
"name": "uname",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"name",
"len"
],
"args_type": [
"const char*",
"size_t"
],
"fully_qualified": "sethostname(const char*,size_t)",
"headers": [
"<unistd.h>"
],
"location_file": [],
"name": "sethostname",
"nb_args": 2,
"return_value": "int",
"usage": 1
}
]
}

View file

@ -0,0 +1,706 @@
{
"functions": [
{
"args_name": [
"euid"
],
"args_type": [
"uid_t"
],
"fully_qualified": "seteuid(uid_t)",
"headers": [
"<sys/types.h>",
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/user.c"
],
"name": "seteuid",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "getlogin()",
"headers": [
"<unistd.h>",
"<stdio.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/user.c"
],
"name": "getlogin",
"nb_args": 0,
"return_value": "char *",
"usage": 1
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "setpwent()",
"headers": [
"<sys/types.h>",
"<pwd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/user.c"
],
"name": "setpwent",
"nb_args": 0,
"return_value": "void",
"usage": 1
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "endpwent()",
"headers": [
"<sys/types.h>",
"<pwd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/user.c"
],
"name": "endpwent",
"nb_args": 0,
"return_value": "void",
"usage": 1
},
{
"args_name": [
"name"
],
"args_type": [
"const char *"
],
"fully_qualified": "getpwnam(const char *)",
"headers": [
"<sys/types.h>",
"<pwd.h>",
"<stdio.h>",
"<stdlib.h>",
"<unistd.h>",
"<errno.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/user.c"
],
"name": "getpwnam",
"nb_args": 1,
"return_value": "struct passwd *",
"usage": 1
},
{
"args_name": [
"uid"
],
"args_type": [
"uid_t"
],
"fully_qualified": "getpwuid(uid_t)",
"headers": [
"<sys/types.h>",
"<pwd.h>",
"<stdio.h>",
"<stdlib.h>",
"<unistd.h>",
"<errno.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/user.c"
],
"name": "getpwuid",
"nb_args": 1,
"return_value": "struct passwd *",
"usage": 1
},
{
"args_name": [
"name",
"pwd",
"buf",
"buflen",
"result"
],
"args_type": [
"const char *",
"struct passwd *",
"char *",
"size_t",
"struct passwd **"
],
"fully_qualified": "getpwnam_r(const char *)",
"headers": [
"<sys/types.h>",
"<pwd.h>",
"<stdio.h>",
"<stdlib.h>",
"<unistd.h>",
"<errno.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/user.c"
],
"name": "getpwnam_r",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"uid",
"pwd",
"buf",
"buflen",
"result"
],
"args_type": [
"uid_t",
"struct passwd *",
"char *",
"size_t",
"struct passwd **"
],
"fully_qualified": "getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **)",
"headers": [
"<sys/types.h>",
"<pwd.h>",
"<stdio.h>",
"<stdlib.h>",
"<unistd.h>",
"<errno.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/user.c"
],
"name": "getpwuid_r",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "getpwent()",
"headers": [
"<sys/types.h>",
"<pwd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/user.c"
],
"name": "getpwent",
"nb_args": 0,
"return_value": "struct passwd *",
"usage": 1
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "issetugid()",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/user.c"
],
"name": "issetugid",
"nb_args": 0,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"egid"
],
"args_type": [
"gid_t"
],
"fully_qualified": "setegid(gid_t)",
"headers": [
"<sys/types.h>",
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/user.c"
],
"name": "setegid",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"user",
"group"
],
"args_type": [
"const char *",
"gid_t"
],
"fully_qualified": "initgroups(const char *, gid_t)",
"headers": [
"<sys/types.h>",
"<grp.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/user.c"
],
"name": "initgroups",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"name"
],
"args_type": [
"const char *"
],
"fully_qualified": "getgrnam(const char *)",
"headers": [
"<sys/types.h>",
"<grp.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/user.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/musl-imported/include/grp.h"
],
"name": "getgrnam",
"nb_args": 1,
"return_value": "struct group *",
"usage": 2
},
{
"args_name": [
"name",
"grp",
"buf",
"buflen",
"result"
],
"args_type": [
"const char *",
"struct group *",
"char *",
"int",
"struct group **"
],
"fully_qualified": "getgrnam_r(const char *, struct group *, char *, int, struct group **)",
"headers": [
"<sys/types.h>",
"<grp.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/user.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/musl-imported/include/grp.h"
],
"name": "getgrnam_r",
"nb_args": 5,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"gid"
],
"args_type": [
"gid_t"
],
"fully_qualified": "getgrgid(gid_t)",
"headers": [
"<sys/types.h>",
"<grp.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/user.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/musl-imported/include/grp.h"
],
"name": "getgrgid",
"nb_args": 1,
"return_value": "struct group *",
"usage": 2
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "setgrent()",
"headers": [
"<sys/types.h>",
"<grp.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/user.c"
],
"name": "setgrent",
"nb_args": 0,
"return_value": "void",
"usage": 1
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "endgrent()",
"headers": [
"<sys/types.h>",
"<grp.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/user.c"
],
"name": "endgrent",
"nb_args": 0,
"return_value": "void",
"usage": 1
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "getgrent()",
"headers": [
"<sys/types.h>",
"<grp.h>",
"<uk/user.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/user.c"
],
"name": "getgrent",
"nb_args": 0,
"return_value": "struct group *",
"usage": 1
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "getuid()",
"headers": [
"<unistd.h>",
"<sys/types.h>"
],
"location_file": [],
"name": "getuid",
"nb_args": 0,
"return_value": "uid_t",
"usage": 1
},
{
"args_name": [
"uid"
],
"args_type": [
"uid_t"
],
"fully_qualified": "setuid(uid_t)",
"headers": [
"<sys/types.h>",
"<unistd.h>"
],
"location_file": [],
"name": "setuid",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "geteuid()",
"headers": [
"<unistd.h>",
"<sys/types.h>"
],
"location_file": [],
"name": "geteuid",
"nb_args": 0,
"return_value": "uid_t",
"usage": 1
},
{
"args_name": [
"ruid",
"euid",
"suid"
],
"args_type": [
"uid_t*",
"uid_t*",
"uid_t*"
],
"fully_qualified": "getresuid(uid_t*,uid_t*,uid_t*)",
"headers": [
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/include/uk/user.h"
],
"name": "getresuid",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"ruid",
"euid",
"suid"
],
"args_type": [
"uid_t",
"uid_t",
"uid_t"
],
"fully_qualified": "setresuid(uid_t,uid_t,uid_t)",
"headers": [
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/include/uk/user.h"
],
"name": "setresuid",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"ruid",
"euid"
],
"args_type": [
"uid_t",
"uid_t"
],
"fully_qualified": "setreuid(uid_t,uid_t)",
"headers": [
"<sys/types.h>",
"<unistd.h>"
],
"location_file": [],
"name": "setreuid",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"fsgid"
],
"args_type": [
"uid_t"
],
"fully_qualified": "setfsgid(uid_t)",
"headers": [],
"location_file": [],
"name": "setfsgid",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"fsuid"
],
"args_type": [
"uid_t"
],
"fully_qualified": "setfsuid(uid_t)",
"headers": [],
"location_file": [],
"name": "setfsuid",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"hdrp",
"datap"
],
"args_type": [
"void*",
"void*"
],
"fully_qualified": "capset(void*,void*)",
"headers": [
],
"location_file": [],
"name": "capset",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"hdrp",
"datap"
],
"args_type": [
"void*",
"void*"
],
"fully_qualified": "capget(void*,void*)",
"headers": [],
"location_file": [],
"name": "capget",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "getgid()",
"headers": [
"<unistd.h>",
"<sys/types.h>"
],
"location_file": [],
"name": "getgid",
"nb_args": 0,
"return_value": "gid_t",
"usage": 1
},
{
"args_name": [
"gid"
],
"args_type": [
"gid_t"
],
"fully_qualified": "setgid(gid_t)",
"headers": [
"<sys/types.h>",
"<unistd.h>"
],
"location_file": [],
"name": "setgid",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "getegid()",
"headers": [
"<unistd.h>",
"<sys/types.h>"
],
"location_file": [],
"name": "getegid",
"nb_args": 0,
"return_value": "gid_t",
"usage": 1
},
{
"args_name": [
"rgid",
"egid",
"sgid"
],
"args_type": [
"gid_t*",
"gid_t*",
"gid_t*"
],
"fully_qualified": "getresgid(gid_t*,gid_t*,gid_t*)",
"headers": [
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/include/uk/user.h"
],
"name": "getresgid",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"rgid",
"egid",
"sgid"
],
"args_type": [
"gid_t",
"gid_t",
"gid_t"
],
"fully_qualified": "setresgid(gid_t,gid_t,gid_t)",
"headers": [
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/posix-user/include/uk/user.h"
],
"name": "setresgid",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"rgid",
"egid"
],
"args_type": [
"gid_t",
"gid_t"
],
"fully_qualified": "setregid(gid_t,gid_t)",
"headers": [
"<sys/types.h>",
"<unistd.h>"
],
"location_file": [],
"name": "setregid",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"size",
"list"
],
"args_type": [
"int",
"gid_t*"
],
"fully_qualified": "getgroups(int,gid_t*)",
"headers": [
"<sys/types.h>",
"<unistd.h>",
"<grp.h>"
],
"location_file": [],
"name": "getgroups",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"size",
"list"
],
"args_type": [
"size_t",
"const gid_t*"
],
"fully_qualified": "setgroups(size_t,const gid_t*)",
"headers": [
"<sys/types.h>",
"<unistd.h>",
"<grp.h>"
],
"location_file": [],
"name": "setgroups",
"nb_args": 2,
"return_value": "int",
"usage": 1
}
]
}

936
libs/internal/uk9p.json Normal file
View file

@ -0,0 +1,936 @@
{
"functions": [
{
"args_name": [
"fid"
],
"args_type": [
"struct uk_9pfid *"
],
"fully_qualified": "uk_9pfid_get(struct uk_9pfid *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9pfid.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9pfid.h"
],
"name": "uk_9pfid_get",
"nb_args": 1,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"fid"
],
"args_type": [
"struct uk_9pfid *"
],
"fully_qualified": "uk_9pfid_put(struct uk_9pfid *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9pfid.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9pfid.h"
],
"name": "uk_9pfid_put",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"trans"
],
"args_type": [
"struct uk_9pdev_trans *"
],
"fully_qualified": "uk_9pdev_trans_register(struct uk_9pdev_trans *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9pdev_trans.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9pdev_trans.h"
],
"name": "uk_9pdev_trans_register",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"name"
],
"args_type": [
"const char *"
],
"fully_qualified": "uk_9pdev_trans_by_name(const char *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9pdev_trans.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9pdev_trans.h"
],
"name": "uk_9pdev_trans_by_name",
"nb_args": 1,
"return_value": "struct uk_9pdev_trans *",
"usage": 2
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "uk_9pdev_trans_get_default()",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9pdev_trans.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9pdev_trans.h"
],
"name": "uk_9pdev_trans_get_default",
"nb_args": 0,
"return_value": "struct uk_9pdev_trans *",
"usage": 2
},
{
"args_name": [
"trans"
],
"args_type": [
"struct uk_9pdev_trans *"
],
"fully_qualified": "uk_9pdev_trans_set_default(struct uk_9pdev_trans *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9pdev_trans.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9pdev_trans.h"
],
"name": "uk_9pdev_trans_set_default",
"nb_args": 1,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"req"
],
"args_type": [
"struct uk_9preq *"
],
"fully_qualified": "uk_9preq_get(struct uk_9preq *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9preq.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9preq.h"
],
"name": "uk_9preq_get",
"nb_args": 1,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"req"
],
"args_type": [
"struct uk_9preq *"
],
"fully_qualified": "uk_9preq_put(struct uk_9preq *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9preq.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9preq.h"
],
"name": "uk_9preq_put",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"req",
"recv_size"
],
"args_type": [
"struct uk_9preq *",
"int"
],
"fully_qualified": "uk_9preq_receive_cb(struct uk_9preq *, int)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9preq.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9preq.h"
],
"name": "uk_9preq_receive_cb",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"req"
],
"args_type": [
"struct uk_9preq *"
],
"fully_qualified": "uk_9preq_waitreply(struct uk_9preq *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9preq.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9preq.h"
],
"name": "uk_9preq_waitreply",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"req"
],
"args_type": [
"struct uk_9preq *"
],
"fully_qualified": "uk_9preq_error(struct uk_9preq *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9preq.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9preq.h"
],
"name": "uk_9preq_error",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"requested",
"received"
],
"args_type": [
"struct uk_9pdev *",
"const char *",
"struct uk_9p_str *"
],
"fully_qualified": "uk_9p_version(struct uk_9pdev *, const char *, struct uk_9p_str *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9p.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9p.h"
],
"name": "uk_9p_version",
"nb_args": 3,
"return_value": "struct uk_9preq *",
"usage": 2
},
{
"args_name": [
"dev",
"afid",
"uname",
"aname",
"n_uname"
],
"args_type": [
"struct uk_9pdev *",
"int",
"const char *",
"const char *",
"int"
],
"fully_qualified": "uk_9p_attach(struct uk_9pdev *, int, const char *, const char *, int)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9p.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9p.h"
],
"name": "uk_9p_attach",
"nb_args": 5,
"return_value": "struct uk_9pfid *",
"usage": 2
},
{
"args_name": [
"dev",
"oldtag"
],
"args_type": [
"struct uk_9pdev *",
"int"
],
"fully_qualified": "uk_9p_flush(struct uk_9pdev *, int)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9p.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9p.h"
],
"name": "uk_9p_flush",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"fid",
"name"
],
"args_type": [
"struct uk_9pdev *",
"struct uk_9pfid *",
"const char *"
],
"fully_qualified": "uk_9p_walk(struct uk_9pdev *, struct uk_9pfid *, const char *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9p.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9p.h"
],
"name": "uk_9p_walk",
"nb_args": 3,
"return_value": "struct uk_9pfid *",
"usage": 2
},
{
"args_name": [
"dev",
"fid",
"mode"
],
"args_type": [
"struct uk_9pdev *",
"struct uk_9pfid *",
"int"
],
"fully_qualified": "uk_9p_open(struct uk_9pdev *, struct uk_9pfid *, int)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9p.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9p.h"
],
"name": "uk_9p_open",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"fid",
"name",
"perm",
"mode",
"extension"
],
"args_type": [
"struct uk_9pdev *",
"struct uk_9pfid *",
"const char *",
"int",
"int",
"const char *"
],
"fully_qualified": "uk_9p_create(struct uk_9pdev *, struct uk_9pfid *, const char *, int, int, const char *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9p.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9p.h"
],
"name": "uk_9p_create",
"nb_args": 6,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"fid"
],
"args_type": [
"struct uk_9pdev *",
"struct uk_9pfid *"
],
"fully_qualified": "uk_9p_remove(struct uk_9pdev *, struct uk_9pfid *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9p.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9p.h"
],
"name": "uk_9p_remove",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"fid"
],
"args_type": [
"struct uk_9pdev *",
"struct uk_9pfid *"
],
"fully_qualified": "uk_9p_clunk(struct uk_9pdev *, struct uk_9pfid *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9p.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9p.h"
],
"name": "uk_9p_clunk",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"fid",
"offset",
"count",
"buf"
],
"args_type": [
"struct uk_9pdev *",
"struct uk_9pfid *",
"int",
"int",
"char *"
],
"fully_qualified": "uk_9p_read(struct uk_9pdev *, struct uk_9pfid *, int, int, char *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9p.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9p.h"
],
"name": "uk_9p_read",
"nb_args": 5,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"fid",
"offset",
"count",
"buf"
],
"args_type": [
"struct uk_9pdev *",
"struct uk_9pfid *",
"int",
"int",
"const char *"
],
"fully_qualified": "uk_9p_write(struct uk_9pdev *, struct uk_9pfid *, int, int, const char *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9p.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9p.h"
],
"name": "uk_9p_write",
"nb_args": 5,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"fid",
"stat"
],
"args_type": [
"struct uk_9pdev *",
"struct uk_9pfid *",
"struct uk_9p_stat *"
],
"fully_qualified": "uk_9p_stat(struct uk_9pdev *, struct uk_9pfid *, struct uk_9p_stat *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9p.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9p.h"
],
"name": "uk_9p_stat",
"nb_args": 3,
"return_value": "struct uk_9preq *",
"usage": 2
},
{
"args_name": [
"dev",
"fid",
"stat"
],
"args_type": [
"struct uk_9pdev *",
"struct uk_9pfid *",
"struct uk_9p_stat *"
],
"fully_qualified": "uk_9p_wstat(struct uk_9pdev *, struct uk_9pfid *, struct uk_9p_stat *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9p.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9p.h"
],
"name": "uk_9p_wstat",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"trans",
"device_identifier",
"mount_args",
"a"
],
"args_type": [
"const struct uk_9pdev_trans *",
"const char *",
"const char *",
"struct uk_alloc *"
],
"fully_qualified": "uk_9pdev_connect(const struct uk_9pdev_trans *, const char *, const char *, struct uk_alloc *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9pdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9pdev.h"
],
"name": "uk_9pdev_connect",
"nb_args": 4,
"return_value": "struct uk_9pdev *",
"usage": 2
},
{
"args_name": [
"dev"
],
"args_type": [
"struct uk_9pdev *"
],
"fully_qualified": "uk_9pdev_disconnect(struct uk_9pdev *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9pdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9pdev.h"
],
"name": "uk_9pdev_disconnect",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"req"
],
"args_type": [
"struct uk_9pdev *",
"struct uk_9preq *"
],
"fully_qualified": "uk_9pdev_request(struct uk_9pdev *, struct uk_9preq *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9pdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9pdev.h"
],
"name": "uk_9pdev_request",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev"
],
"args_type": [
"struct uk_9pdev *"
],
"fully_qualified": "uk_9pdev_xmit_notify(struct uk_9pdev *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9pdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9pdev.h"
],
"name": "uk_9pdev_xmit_notify",
"nb_args": 1,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"dev",
"type"
],
"args_type": [
"struct uk_9pdev *",
"int"
],
"fully_qualified": "uk_9pdev_req_create(struct uk_9pdev *, int)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9pdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9pdev.h"
],
"name": "uk_9pdev_req_create",
"nb_args": 2,
"return_value": "struct uk_9preq *",
"usage": 2
},
{
"args_name": [
"dev",
"tag"
],
"args_type": [
"struct uk_9pdev *",
"int"
],
"fully_qualified": "uk_9pdev_req_lookup(struct uk_9pdev *, int)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9pdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9pdev.h"
],
"name": "uk_9pdev_req_lookup",
"nb_args": 2,
"return_value": "struct uk_9preq *",
"usage": 2
},
{
"args_name": [
"dev",
"req"
],
"args_type": [
"struct uk_9pdev *",
"struct uk_9preq *"
],
"fully_qualified": "uk_9pdev_req_remove(struct uk_9pdev *, struct uk_9preq *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9pdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9pdev.h"
],
"name": "uk_9pdev_req_remove",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev"
],
"args_type": [
"struct uk_9pdev *"
],
"fully_qualified": "uk_9pdev_fid_create(struct uk_9pdev *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9pdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9pdev.h"
],
"name": "uk_9pdev_fid_create",
"nb_args": 1,
"return_value": "struct uk_9pfid *",
"usage": 2
},
{
"args_name": [
"dev",
"msize"
],
"args_type": [
"struct uk_9pdev *",
"int"
],
"fully_qualified": "uk_9pdev_set_msize(struct uk_9pdev *, int)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9pdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9pdev.h"
],
"name": "uk_9pdev_set_msize",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev"
],
"args_type": [
"struct uk_9pdev *"
],
"fully_qualified": "uk_9pdev_get_msize(struct uk_9pdev *)",
"headers": [
"<uk/9p.h>",
"<uk/9p_core.h>",
"<uk/9pdev_core.h>",
"<uk/9pdev.h>",
"<uk/9pdev_trans.h>",
"<uk/9pfid.h>",
"<uk/9preq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/9pdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uk9p/include/uk/9pdev.h"
],
"name": "uk_9pdev_get_msize",
"nb_args": 1,
"return_value": "int",
"usage": 2
}
]
}

380
libs/internal/ukalloc.json Normal file
View file

@ -0,0 +1,380 @@
{
"functions": [
{
"args_name": [
"a"
],
"args_type": [
"struct uk_alloc *"
],
"fully_qualified": "uk_alloc_register(struct uk_alloc *)",
"headers": [
"<uk/alloc.h>",
"<uk/alloc_impl.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/alloc.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/include/uk/alloc_impl.h"
],
"name": "uk_alloc_register",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"a",
"size"
],
"args_type": [
"struct uk_alloc *",
"int"
],
"fully_qualified": "uk_malloc_ifpages(struct uk_alloc *, int)",
"headers": [
"<uk/alloc.h>",
"<uk/alloc_impl.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/alloc.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/include/uk/alloc_impl.h"
],
"name": "uk_malloc_ifpages",
"nb_args": 2,
"return_value": "void *",
"usage": 2
},
{
"args_name": [
"a",
"ptr"
],
"args_type": [
"struct uk_alloc *",
"void *"
],
"fully_qualified": "uk_free_ifpages(struct uk_alloc *, void *)",
"headers": [
"<uk/alloc.h>",
"<uk/alloc_impl.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/alloc.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/include/uk/alloc_impl.h"
],
"name": "uk_free_ifpages",
"nb_args": 2,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"a",
"ptr",
"size"
],
"args_type": [
"struct uk_alloc *",
"void *",
"int"
],
"fully_qualified": "uk_realloc_ifpages(struct uk_alloc *, void *, int)",
"headers": [
"<uk/alloc.h>",
"<uk/alloc_impl.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/alloc.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/include/uk/alloc_impl.h"
],
"name": "uk_realloc_ifpages",
"nb_args": 3,
"return_value": "void *",
"usage": 2
},
{
"args_name": [
"a",
"memptr",
"align",
"size"
],
"args_type": [
"struct uk_alloc *",
"void **",
"int",
"int"
],
"fully_qualified": "uk_posix_memalign_ifpages(struct uk_alloc *, void **, int, int)",
"headers": [
"<uk/alloc.h>",
"<uk/alloc_impl.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/alloc.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/include/uk/alloc_impl.h"
],
"name": "uk_posix_memalign_ifpages",
"nb_args": 4,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"a"
],
"args_type": [
"struct uk_alloc *"
],
"fully_qualified": "uk_alloc_maxalloc_ifpages(struct uk_alloc *)",
"headers": [
"<uk/alloc.h>",
"<uk/alloc_impl.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/alloc.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/include/uk/alloc_impl.h"
],
"name": "uk_alloc_maxalloc_ifpages",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"a"
],
"args_type": [
"struct uk_alloc *"
],
"fully_qualified": "uk_alloc_availmem_ifpages(struct uk_alloc *)",
"headers": [
"<uk/alloc.h>",
"<uk/alloc_impl.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/alloc.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/include/uk/alloc_impl.h"
],
"name": "uk_alloc_availmem_ifpages",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"a",
"ptr",
"num_pages"
],
"args_type": [
"struct uk_alloc *",
"void *",
"unsigned long"
],
"fully_qualified": "uk_pfree_compat(struct uk_alloc *, void *, unsigned long)",
"headers": [
"<uk/alloc.h>",
"<uk/alloc_impl.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/alloc.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/include/uk/alloc_impl.h"
],
"name": "uk_pfree_compat",
"nb_args": 3,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"a",
"num_pages"
],
"args_type": [
"struct uk_alloc *",
"unsigned long"
],
"fully_qualified": "uk_palloc_compat(struct uk_alloc *, unsigned long)",
"headers": [
"<uk/alloc.h>",
"<uk/alloc_impl.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/alloc.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/include/uk/alloc_impl.h"
],
"name": "uk_palloc_compat",
"nb_args": 2,
"return_value": "void *",
"usage": 2
},
{
"args_name": [
"a",
"ptr",
"size"
],
"args_type": [
"struct uk_alloc *",
"void *",
"int"
],
"fully_qualified": "uk_realloc_compat(struct uk_alloc *, void *, int)",
"headers": [
"<uk/alloc.h>",
"<uk/alloc_impl.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/alloc.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/include/uk/alloc_impl.h"
],
"name": "uk_realloc_compat",
"nb_args": 3,
"return_value": "void *",
"usage": 2
},
{
"args_name": [
"a",
"nmemb",
"size"
],
"args_type": [
"struct uk_alloc *",
"int",
"int"
],
"fully_qualified": "uk_calloc_compat(struct uk_alloc *, int, int)",
"headers": [
"<uk/alloc.h>",
"<uk/alloc_impl.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/alloc.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/include/uk/alloc_impl.h"
],
"name": "uk_calloc_compat",
"nb_args": 3,
"return_value": "void *",
"usage": 2
},
{
"args_name": [
"a",
"align",
"size"
],
"args_type": [
"struct uk_alloc *",
"int",
"int"
],
"fully_qualified": "uk_memalign_compat(struct uk_alloc *, int, int)",
"headers": [
"<uk/alloc.h>",
"<uk/alloc_impl.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/alloc.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/include/uk/alloc_impl.h"
],
"name": "uk_memalign_compat",
"nb_args": 3,
"return_value": "void *",
"usage": 2
},
{
"args_name": [
"a"
],
"args_type": [
"struct uk_alloc *"
],
"fully_qualified": "uk_alloc_pmaxalloc_compat(struct uk_alloc *)",
"headers": [
"<uk/alloc.h>",
"<uk/alloc_impl.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/alloc.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/include/uk/alloc_impl.h"
],
"name": "uk_alloc_pmaxalloc_compat",
"nb_args": 1,
"return_value": "long",
"usage": 2
},
{
"args_name": [
"a"
],
"args_type": [
"struct uk_alloc *"
],
"fully_qualified": "uk_alloc_pavailmem_compat(struct uk_alloc *)",
"headers": [
"<uk/alloc.h>",
"<uk/alloc_impl.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/alloc.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/include/uk/alloc_impl.h"
],
"name": "uk_alloc_pavailmem_compat",
"nb_args": 1,
"return_value": "long",
"usage": 2
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "uk_alloc_availmem_total()",
"headers": [
"<uk/alloc.h>",
"<uk/alloc_impl.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/alloc.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/include/uk/alloc.h"
],
"name": "uk_alloc_availmem_total",
"nb_args": 0,
"return_value": "int",
"usage": 2
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "uk_alloc_pavailmem_total()",
"headers": [
"<uk/alloc.h>",
"<uk/alloc_impl.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/alloc.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/include/uk/alloc.h"
],
"name": "uk_alloc_pavailmem_total",
"nb_args": 0,
"return_value": "unsigned long",
"usage": 2
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "uk_alloc_get_default()",
"headers": [
"<uk/alloc.h>",
"<uk/alloc_impl.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukalloc/libstats.c"
],
"name": "uk_alloc_get_default",
"nb_args": 0,
"return_value": "struct uk_alloc *",
"usage": 1
}
]
}

View file

@ -0,0 +1,26 @@
{
"functions": [
{
"args_name": [
"base",
"len"
],
"args_type": [
"void *",
"int"
],
"fully_qualified": "uk_allocbbuddy_init(void *, int)",
"headers": [
"<uk/allocbbuddy.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocbbuddy/bbuddy.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocbbuddy/include/uk/allocbbuddy.h"
],
"name": "uk_allocbbuddy_init",
"nb_args": 2,
"return_value": "struct uk_alloc *",
"usage": 2
}
]
}

View file

@ -0,0 +1,250 @@
{
"functions": [
{
"args_name": [
"p"
],
"args_type": [
"struct uk_allocpool *"
],
"fully_qualified": "uk_allocpool2ukalloc(struct uk_allocpool *)",
"headers": [
"<uk/allocpool.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/pool.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/include/uk/allocpool.h"
],
"name": "uk_allocpool2ukalloc",
"nb_args": 1,
"return_value": "struct uk_alloc *",
"usage": 2
},
{
"args_name": [
"p"
],
"args_type": [
"struct uk_allocpool *"
],
"fully_qualified": "uk_allocpool_take(struct uk_allocpool *)",
"headers": [
"<uk/allocpool.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/pool.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/include/uk/allocpool.h"
],
"name": "uk_allocpool_take",
"nb_args": 1,
"return_value": "void *",
"usage": 2
},
{
"args_name": [
"p",
"obj",
"count"
],
"args_type": [
"struct uk_allocpool *",
"void *[]",
"unsigned int"
],
"fully_qualified": "uk_allocpool_take_batch(struct uk_allocpool *, void **, unsigned int)",
"headers": [
"<uk/allocpool.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/pool.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/include/uk/allocpool.h"
],
"name": "uk_allocpool_take_batch",
"nb_args": 3,
"return_value": "unsigned int",
"usage": 2
},
{
"args_name": [
"p",
"obj"
],
"args_type": [
"struct uk_allocpool *",
"void *"
],
"fully_qualified": "uk_allocpool_return(struct uk_allocpool *, void *)",
"headers": [
"<uk/allocpool.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/pool.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/include/uk/allocpool.h"
],
"name": "uk_allocpool_return",
"nb_args": 2,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"p",
"obj",
"count"
],
"args_type": [
"struct uk_allocpool *",
"void *[]",
"unsigned int"
],
"fully_qualified": "uk_allocpool_return_batch(struct uk_allocpool *, void **, unsigned int)",
"headers": [
"<uk/allocpool.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/pool.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/include/uk/allocpool.h"
],
"name": "uk_allocpool_return_batch",
"nb_args": 3,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"obj_count",
"obj_len",
"obj_align"
],
"args_type": [
"unsigned int",
"int",
"int"
],
"fully_qualified": "uk_allocpool_reqmem(unsigned int, int, int)",
"headers": [
"<uk/allocpool.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/pool.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/include/uk/allocpool.h"
],
"name": "uk_allocpool_reqmem",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"p"
],
"args_type": [
"struct uk_allocpool *"
],
"fully_qualified": "uk_allocpool_availcount(struct uk_allocpool *)",
"headers": [
"<uk/allocpool.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/pool.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/include/uk/allocpool.h"
],
"name": "uk_allocpool_availcount",
"nb_args": 1,
"return_value": "unsigned int",
"usage": 2
},
{
"args_name": [
"p"
],
"args_type": [
"struct uk_allocpool *"
],
"fully_qualified": "uk_allocpool_objlen(struct uk_allocpool *)",
"headers": [
"<uk/allocpool.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/pool.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/include/uk/allocpool.h"
],
"name": "uk_allocpool_objlen",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"base",
"len",
"obj_len",
"obj_align"
],
"args_type": [
"void *",
"int",
"int",
"int"
],
"fully_qualified": "uk_allocpool_init(void *, int, int, int)",
"headers": [
"<uk/allocpool.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/pool.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/include/uk/allocpool.h"
],
"name": "uk_allocpool_init",
"nb_args": 4,
"return_value": "struct uk_allocpool *",
"usage": 2
},
{
"args_name": [
"parent",
"obj_count",
"obj_len",
"obj_align"
],
"args_type": [
"struct uk_alloc *",
"unsigned int",
"int",
"int"
],
"fully_qualified": "uk_allocpool_alloc(struct uk_alloc *, unsigned int, int, int)",
"headers": [
"<uk/allocpool.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/pool.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/include/uk/allocpool.h"
],
"name": "uk_allocpool_alloc",
"nb_args": 4,
"return_value": "struct uk_allocpool *",
"usage": 2
},
{
"args_name": [
"p"
],
"args_type": [
"struct uk_allocpool *"
],
"fully_qualified": "uk_allocpool_free(struct uk_allocpool *)",
"headers": [
"<uk/allocpool.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/pool.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocpool/include/uk/allocpool.h"
],
"name": "uk_allocpool_free",
"nb_args": 1,
"return_value": "void",
"usage": 2
}
]
}

View file

@ -0,0 +1,26 @@
{
"functions": [
{
"args_name": [
"base",
"len"
],
"args_type": [
"void *",
"int"
],
"fully_qualified": "uk_allocregion_init(void *, int)",
"headers": [
"<uk/allocregion.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocregion/region.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukallocregion/include/uk/allocregion.h"
],
"name": "uk_allocregion_init",
"nb_args": 2,
"return_value": "struct uk_alloc *",
"usage": 2
}
]
}

View file

@ -0,0 +1,30 @@
{
"functions": [
{
"args_name": [
"argb",
"maxlen",
"argv",
"maxcount"
],
"args_type": [
"char *",
"size_t",
"char **",
"int"
],
"fully_qualified": "uk_argnparse(char *, size_t, char **, int)",
"headers": [
"<uk/argparse.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukargparse/argparse.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukargparse/include/uk/argparse.h"
],
"name": "uk_argnparse",
"nb_args": 4,
"return_value": "int",
"usage": 2
}
]
}

337
libs/internal/ukblkdev.json Normal file
View file

@ -0,0 +1,337 @@
{
"functions": [
{
"args_name": [],
"args_type": [],
"fully_qualified": "uk_blkdev_count()",
"headers": [
"<uk/blkdev.h>",
"<uk/blkreq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/blkdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/include/uk/blkdev.h"
],
"name": "uk_blkdev_count",
"nb_args": 0,
"return_value": "unsigned int",
"usage": 2
},
{
"args_name": [
"id"
],
"args_type": [
"unsigned int"
],
"fully_qualified": "uk_blkdev_get(unsigned int)",
"headers": [
"<uk/blkdev.h>",
"<uk/blkreq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/blkdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/include/uk/blkdev.h"
],
"name": "uk_blkdev_get",
"nb_args": 1,
"return_value": "struct uk_blkdev *",
"usage": 2
},
{
"args_name": [
"dev"
],
"args_type": [
"struct uk_blkdev *"
],
"fully_qualified": "uk_blkdev_id_get(struct uk_blkdev *)",
"headers": [
"<uk/blkdev.h>",
"<uk/blkreq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/blkdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/include/uk/blkdev.h"
],
"name": "uk_blkdev_id_get",
"nb_args": 1,
"return_value": "uint16_t",
"usage": 2
},
{
"args_name": [
"dev"
],
"args_type": [
"struct uk_blkdev *"
],
"fully_qualified": "uk_blkdev_drv_name_get(struct uk_blkdev *)",
"headers": [
"<uk/blkdev.h>",
"<uk/blkreq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/blkdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/include/uk/blkdev.h"
],
"name": "uk_blkdev_drv_name_get",
"nb_args": 1,
"return_value": "const char *",
"usage": 2
},
{
"args_name": [
"dev"
],
"args_type": [
"struct uk_blkdev *"
],
"fully_qualified": "uk_blkdev_state_get(struct uk_blkdev *)",
"headers": [
"<uk/blkdev.h>",
"<uk/blkreq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/blkdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/include/uk/blkdev.h"
],
"name": "uk_blkdev_state_get",
"nb_args": 1,
"return_value": "enum uk_blkdev_state",
"usage": 2
},
{
"args_name": [
"dev",
"dev_info"
],
"args_type": [
"struct uk_blkdev *",
"struct uk_blkdev_info *"
],
"fully_qualified": "uk_blkdev_get_info(struct uk_blkdev *, struct uk_blkdev_info *)",
"headers": [
"<uk/blkdev.h>",
"<uk/blkreq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/blkdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/include/uk/blkdev.h"
],
"name": "uk_blkdev_get_info",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"conf"
],
"args_type": [
"struct uk_blkdev *",
"const struct uk_blkdev_conf *"
],
"fully_qualified": "uk_blkdev_configure(struct uk_blkdev *, const struct uk_blkdev_conf *)",
"headers": [
"<uk/blkdev.h>",
"<uk/blkreq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/blkdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/include/uk/blkdev.h"
],
"name": "uk_blkdev_configure",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"queue_id",
"q_info"
],
"args_type": [
"struct uk_blkdev *",
"uint16_t",
"struct uk_blkdev_queue_info *"
],
"fully_qualified": "uk_blkdev_queue_get_info(struct uk_blkdev *, uint16_t, struct uk_blkdev_queue_info *)",
"headers": [
"<uk/blkdev.h>",
"<uk/blkreq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/blkdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/include/uk/blkdev.h"
],
"name": "uk_blkdev_queue_get_info",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"queue_id",
"nb_desc",
"queue_conf"
],
"args_type": [
"struct uk_blkdev *",
"uint16_t",
"uint16_t",
"const struct uk_blkdev_queue_conf *"
],
"fully_qualified": "uk_blkdev_queue_configure(struct uk_blkdev *, uint16_t, uint16_t, const struct uk_blkdev_queue_conf *)",
"headers": [
"<uk/blkdev.h>",
"<uk/blkreq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/blkdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/include/uk/blkdev.h"
],
"name": "uk_blkdev_queue_configure",
"nb_args": 4,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev"
],
"args_type": [
"struct uk_blkdev *"
],
"fully_qualified": "uk_blkdev_start(struct uk_blkdev *)",
"headers": [
"<uk/blkdev.h>",
"<uk/blkreq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/blkdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/include/uk/blkdev.h"
],
"name": "uk_blkdev_start",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"queue_id",
"req"
],
"args_type": [
"struct uk_blkdev *",
"uint16_t",
"struct uk_blkreq *"
],
"fully_qualified": "uk_blkdev_queue_submit_one(struct uk_blkdev *, uint16_t, struct uk_blkreq *)",
"headers": [
"<uk/blkdev.h>",
"<uk/blkreq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/blkdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/include/uk/blkdev.h"
],
"name": "uk_blkdev_queue_submit_one",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"queue_id"
],
"args_type": [
"struct uk_blkdev *",
"uint16_t"
],
"fully_qualified": "uk_blkdev_queue_finish_reqs(struct uk_blkdev *, uint16_t)",
"headers": [
"<uk/blkdev.h>",
"<uk/blkreq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/blkdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/include/uk/blkdev.h"
],
"name": "uk_blkdev_queue_finish_reqs",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev"
],
"args_type": [
"struct uk_blkdev *"
],
"fully_qualified": "uk_blkdev_stop(struct uk_blkdev *)",
"headers": [
"<uk/blkdev.h>",
"<uk/blkreq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/blkdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/include/uk/blkdev.h"
],
"name": "uk_blkdev_stop",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"queue_id"
],
"args_type": [
"struct uk_blkdev *",
"uint16_t"
],
"fully_qualified": "uk_blkdev_queue_unconfigure(struct uk_blkdev *, uint16_t)",
"headers": [
"<uk/blkdev.h>",
"<uk/blkreq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/blkdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/include/uk/blkdev.h"
],
"name": "uk_blkdev_queue_unconfigure",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev"
],
"args_type": [
"struct uk_blkdev *"
],
"fully_qualified": "uk_blkdev_unconfigure(struct uk_blkdev *)",
"headers": [
"<uk/blkdev.h>",
"<uk/blkreq.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/blkdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukblkdev/include/uk/blkdev.h"
],
"name": "uk_blkdev_unconfigure",
"nb_args": 1,
"return_value": "int",
"usage": 2
}
]
}

28
libs/internal/ukcpio.json Normal file
View file

@ -0,0 +1,28 @@
{
"functions": [
{
"args_name": [
"dest",
"buf",
"buflen"
],
"args_type": [
"const char *",
"void *",
"int"
],
"fully_qualified": "ukcpio_extract(const char *, void *, int)",
"headers": [
"<uk/cpio.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukcpio/cpio.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukcpio/include/uk/cpio.h"
],
"name": "ukcpio_extract",
"nb_args": 3,
"return_value": "enum ukcpio_error",
"usage": 2
}
]
}

177
libs/internal/ukdebug.json Normal file
View file

@ -0,0 +1,177 @@
{
"functions": [
{
"args_name": [
"str",
"size",
"data",
"len",
"addr0",
"flags",
"grps_per_line",
"line_prefix"
],
"args_type": [
"char *",
"int",
"const void *",
"int",
"int",
"int",
"unsigned int",
"const char *"
],
"fully_qualified": "uk_hexdumpsn(char *, int, const void *, int, int, int, unsigned int, const char *)",
"headers": [
"<uk/asmdump.h>",
"<uk/assert.h>",
"<uk/hexdump.h>",
"<uk/print.h>",
"<uk/trace.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukdebug/hexdump.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukdebug/include/uk/hexdump.h"
],
"name": "uk_hexdumpsn",
"nb_args": 8,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"fp",
"data",
"len",
"addr0",
"flags",
"grps_per_line",
"line_prefix"
],
"args_type": [
"FILE *",
"const void *",
"int",
"int",
"int",
"unsigned int",
"const char *"
],
"fully_qualified": "uk_hexdumpf(FILE *, const void *, int, int, int, unsigned int, const char *)",
"headers": [
"<uk/asmdump.h>",
"<uk/assert.h>",
"<uk/hexdump.h>",
"<uk/print.h>",
"<uk/trace.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukdebug/hexdump.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukdebug/include/uk/hexdump.h"
],
"name": "uk_hexdumpf",
"nb_args": 7,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"libname",
"srcname",
"srcline",
"data",
"len",
"addr0",
"flags",
"grps_per_line",
"line_prefix"
],
"args_type": [
"const char *",
"const char *",
"unsigned int",
"const void *",
"int",
"int",
"int",
"unsigned int",
"const char *"
],
"fully_qualified": "_uk_hexdumpd(const char *, const char *, unsigned int, const void *, int, int, int, unsigned int, const char *)",
"headers": [
"<uk/asmdump.h>",
"<uk/assert.h>",
"<uk/hexdump.h>",
"<uk/print.h>",
"<uk/trace.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukdebug/hexdump.c"
],
"name": "_uk_hexdumpd",
"nb_args": 9,
"return_value": "void",
"usage": 1
},
{
"args_name": [
"libname",
"srcname",
"srcline",
"fmt",
"ap"
],
"args_type": [
"const char *",
"const char *",
"unsigned int",
"const char *",
"int"
],
"fully_qualified": "_uk_vprintd(const char *, const char *, unsigned int, const char *, int)",
"headers": [
"<uk/asmdump.h>",
"<uk/assert.h>",
"<uk/hexdump.h>",
"<uk/print.h>",
"<uk/trace.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukdebug/print.c"
],
"name": "_uk_vprintd",
"nb_args": 5,
"return_value": "void",
"usage": 1
},
{
"args_name": [
"libname",
"srcname",
"srcline",
"fmt"
],
"args_type": [
"const char *",
"const char *",
"unsigned int",
"const char *"
],
"fully_qualified": "_uk_printd(const char *, const char *, unsigned int, const char *, ...)",
"headers": [
"<uk/asmdump.h>",
"<uk/assert.h>",
"<uk/hexdump.h>",
"<uk/print.h>",
"<uk/trace.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukdebug/print.c"
],
"name": "_uk_printd",
"nb_args": 4,
"return_value": "void",
"usage": 1
}
]
}

View file

@ -0,0 +1,46 @@
{
"functions": [
{
"args_name": [
"lib_sec"
],
"args_type": [
"struct uk_lib_section *"
],
"fully_qualified": "_uk_libparam_lib_add(struct uk_lib_section *)",
"headers": [
"<uk/libparam.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uklibparam/param.c"
],
"name": "_uk_libparam_lib_add",
"nb_args": 1,
"return_value": "void",
"usage": 1
},
{
"args_name": [
"progname",
"argc",
"argv"
],
"args_type": [
"const char *",
"int",
"char **"
],
"fully_qualified": "uk_libparam_parse(const char *, int, char **)",
"headers": [
"<uk/libparam.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uklibparam/param.c"
],
"name": "uk_libparam_parse",
"nb_args": 3,
"return_value": "int",
"usage": 1
}
]
}

46
libs/internal/uklock.json Normal file
View file

@ -0,0 +1,46 @@
{
"functions": [
{
"args_name": [
"s",
"count"
],
"args_type": [
"struct uk_semaphore *",
"long"
],
"fully_qualified": "uk_semaphore_init(struct uk_semaphore *, long)",
"headers": [
"<uk/mutex.h>",
"<uk/semaphore.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uklock/semaphore.c"
],
"name": "uk_semaphore_init",
"nb_args": 2,
"return_value": "void",
"usage": 1
},
{
"args_name": [
"m"
],
"args_type": [
"struct uk_mutex *"
],
"fully_qualified": "uk_mutex_init(struct uk_mutex *)",
"headers": [
"<uk/mutex.h>",
"<uk/semaphore.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uklock/mutex.c"
],
"name": "uk_mutex_init",
"nb_args": 1,
"return_value": "void",
"usage": 1
}
]
}

79
libs/internal/ukmmap.json Normal file
View file

@ -0,0 +1,79 @@
{
"functions": [
{
"args_name": [
"addr",
"len",
"prot",
"flags",
"fildes",
"off"
],
"args_type": [
"void *",
"size_t",
"int",
"int",
"int",
"off_t"
],
"fully_qualified": "mmap(void *, size_t, int, int, int, off_t)",
"headers": [
"<sys/mman.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukmmap/mmap.c"
],
"name": "mmap",
"nb_args": 14,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"addr",
"length",
"advice"
],
"args_type": [
"void*",
"size_t",
"int"
],
"fully_qualified": "madvise(void*,size_t,int)",
"headers": [
"<sys/mman.h>"
],
"location_file": [],
"name": "madvise",
"nb_args": 3,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"old_address",
"old_size",
"new_size",
"flags",
"arg"
],
"args_type": [
"void*",
"size_t",
"size_t",
"int",
"unsigned long"
],
"fully_qualified": "mremap(void*,size_t,size_t,int,unsigned long)",
"headers": [
"<sys/mman.h>"
],
"location_file": [],
"name": "mremap",
"nb_args": 5,
"return_value": "int",
"usage": 1
}
]
}

172
libs/internal/ukmpi.json Normal file
View file

@ -0,0 +1,172 @@
{
"functions": [
{
"args_name": [
"a",
"size"
],
"args_type": [
"struct uk_alloc *",
"int"
],
"fully_qualified": "uk_mbox_create(struct uk_alloc *, int)",
"headers": [
"<uk/mbox.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukmpi/mbox.c"
],
"name": "uk_mbox_create",
"nb_args": 2,
"return_value": "struct uk_mbox *",
"usage": 1
},
{
"args_name": [
"a",
"m"
],
"args_type": [
"struct uk_alloc *",
"struct uk_mbox *"
],
"fully_qualified": "uk_mbox_free(struct uk_alloc *, struct uk_mbox *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukmpi/mbox.c"
],
"name": "uk_mbox_free",
"nb_args": 2,
"return_value": "void",
"usage": 1
},
{
"args_name": [
"m",
"msg"
],
"args_type": [
"struct uk_mbox *",
"void *"
],
"fully_qualified": "uk_mbox_post(struct uk_mbox *, void *)",
"headers": [
"<uk/mbox.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukmpi/mbox.c"
],
"name": "uk_mbox_post",
"nb_args": 2,
"return_value": "void",
"usage": 1
},
{
"args_name": [
"m",
"msg"
],
"args_type": [
"struct uk_mbox *",
"void *"
],
"fully_qualified": "uk_mbox_post_try(struct uk_mbox *, void *)",
"headers": [
"<uk/mbox.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukmpi/mbox.c"
],
"name": "uk_mbox_post_try",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"m",
"msg",
"timeout"
],
"args_type": [
"struct uk_mbox *",
"void *",
"int"
],
"fully_qualified": "uk_mbox_post_to(struct uk_mbox *, void *, int)",
"headers": [
"<uk/mbox.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukmpi/mbox.c"
],
"name": "uk_mbox_post_to",
"nb_args": 3,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"m",
"msg"
],
"args_type": [
"struct uk_mbox *",
"void **"
],
"fully_qualified": "uk_mbox_recv(struct uk_mbox *, void **)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukmpi/mbox.c"
],
"name": "uk_mbox_recv",
"nb_args": 2,
"return_value": "void",
"usage": 1
},
{
"args_name": [
"m",
"msg"
],
"args_type": [
"struct uk_mbox *",
"void **"
],
"fully_qualified": "uk_mbox_recv_try(struct uk_mbox *, void **)",
"headers": [
"<uk/mbox.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukmpi/mbox.c"
],
"name": "uk_mbox_recv_try",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"m",
"msg",
"timeout"
],
"args_type": [
"struct uk_mbox *",
"void **",
"int"
],
"fully_qualified": "uk_mbox_recv_to(struct uk_mbox *, void **, int)",
"headers": [
"<uk/mbox.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukmpi/mbox.c"
],
"name": "uk_mbox_recv_to",
"nb_args": 3,
"return_value": "int",
"usage": 1
}
]
}

567
libs/internal/uknetdev.json Normal file
View file

@ -0,0 +1,567 @@
{
"functions": [
{
"args_name": [
"m",
"buf",
"buflen",
"headroom",
"priv",
"dtor"
],
"args_type": [
"struct uk_netbuf *",
"void *",
"int",
"int",
"void *",
"uk_netbuf_dtor_t"
],
"fully_qualified": "uk_netbuf_init_indir(struct uk_netbuf *, void *, int, int, void *, uk_netbuf_dtor_t)",
"headers": [
"<uk/netbuf.h>",
"<uk/netdev_core.h>",
"<uk/netdev_driver.h>",
"<uk/netdev.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netbuf.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netbuf.h"
],
"name": "uk_netbuf_init_indir",
"nb_args": 6,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"a",
"buf",
"buflen",
"headroom",
"privlen",
"dtor"
],
"args_type": [
"struct uk_alloc *",
"void *",
"int",
"int",
"int",
"uk_netbuf_dtor_t"
],
"fully_qualified": "uk_netbuf_alloc_indir(struct uk_alloc *, void *, int, int, int, uk_netbuf_dtor_t)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netbuf.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netbuf.h"
],
"name": "uk_netbuf_alloc_indir",
"nb_args": 6,
"return_value": "struct uk_netbuf *",
"usage": 2
},
{
"args_name": [
"a",
"buflen",
"bufalign",
"headroom",
"privlen",
"dtor"
],
"args_type": [
"struct uk_alloc *",
"int",
"int",
"int",
"int",
"uk_netbuf_dtor_t"
],
"fully_qualified": "uk_netbuf_alloc_buf(struct uk_alloc *, int, int, int, int, uk_netbuf_dtor_t)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netbuf.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netbuf.h"
],
"name": "uk_netbuf_alloc_buf",
"nb_args": 6,
"return_value": "struct uk_netbuf *",
"usage": 2
},
{
"args_name": [
"mem",
"size",
"headroom",
"privlen",
"dtor"
],
"args_type": [
"void *",
"int",
"int",
"int",
"uk_netbuf_dtor_t"
],
"fully_qualified": "uk_netbuf_prepare_buf(void *, int, int, int, uk_netbuf_dtor_t)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netbuf.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netbuf.h"
],
"name": "uk_netbuf_prepare_buf",
"nb_args": 5,
"return_value": "struct uk_netbuf *",
"usage": 2
},
{
"args_name": [
"m"
],
"args_type": [
"struct uk_netbuf *"
],
"fully_qualified": "uk_netbuf_disconnect(struct uk_netbuf *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netbuf.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netbuf.h"
],
"name": "uk_netbuf_disconnect",
"nb_args": 1,
"return_value": "struct uk_netbuf *",
"usage": 2
},
{
"args_name": [
"headtail",
"tail"
],
"args_type": [
"struct uk_netbuf *",
"struct uk_netbuf *"
],
"fully_qualified": "uk_netbuf_connect(struct uk_netbuf *, struct uk_netbuf *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netbuf.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netbuf.h"
],
"name": "uk_netbuf_connect",
"nb_args": 2,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"head",
"tail"
],
"args_type": [
"struct uk_netbuf *",
"struct uk_netbuf *"
],
"fully_qualified": "uk_netbuf_append(struct uk_netbuf *, struct uk_netbuf *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netbuf.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netbuf.h"
],
"name": "uk_netbuf_append",
"nb_args": 2,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"m"
],
"args_type": [
"struct uk_netbuf *"
],
"fully_qualified": "uk_netbuf_free_single(struct uk_netbuf *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netbuf.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netbuf.h"
],
"name": "uk_netbuf_free_single",
"nb_args": 1,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"m"
],
"args_type": [
"struct uk_netbuf *"
],
"fully_qualified": "uk_netbuf_free(struct uk_netbuf *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netbuf.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netbuf.h"
],
"name": "uk_netbuf_free",
"nb_args": 1,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"dev",
"a",
"drv_name"
],
"args_type": [
"struct uk_netdev *",
"struct uk_alloc *",
"const char *"
],
"fully_qualified": "uk_netdev_drv_register(struct uk_netdev *, struct uk_alloc *, const char *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netdev_driver.h"
],
"name": "uk_netdev_drv_register",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "uk_netdev_count()",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netdev.h"
],
"name": "uk_netdev_count",
"nb_args": 0,
"return_value": "unsigned int",
"usage": 2
},
{
"args_name": [
"id"
],
"args_type": [
"unsigned int"
],
"fully_qualified": "uk_netdev_get(unsigned int)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netdev.h"
],
"name": "uk_netdev_get",
"nb_args": 1,
"return_value": "struct uk_netdev *",
"usage": 2
},
{
"args_name": [
"dev"
],
"args_type": [
"struct uk_netdev *"
],
"fully_qualified": "uk_netdev_id_get(struct uk_netdev *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netdev.h"
],
"name": "uk_netdev_id_get",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev"
],
"args_type": [
"struct uk_netdev *"
],
"fully_qualified": "uk_netdev_drv_name_get(struct uk_netdev *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netdev.h"
],
"name": "uk_netdev_drv_name_get",
"nb_args": 1,
"return_value": "const char *",
"usage": 2
},
{
"args_name": [
"dev",
"dev_info"
],
"args_type": [
"struct uk_netdev *",
"struct uk_netdev_info *"
],
"fully_qualified": "uk_netdev_info_get(struct uk_netdev *, struct uk_netdev_info *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netdev.h"
],
"name": "uk_netdev_info_get",
"nb_args": 2,
"return_value": "void",
"usage": 2
},
{
"args_name": [
"dev",
"queue_id",
"queue_info"
],
"args_type": [
"struct uk_netdev *",
"int",
"struct uk_netdev_queue_info *"
],
"fully_qualified": "uk_netdev_rxq_info_get(struct uk_netdev *, int, struct uk_netdev_queue_info *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netdev.h"
],
"name": "uk_netdev_rxq_info_get",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"queue_id",
"queue_info"
],
"args_type": [
"struct uk_netdev *",
"int",
"struct uk_netdev_queue_info *"
],
"fully_qualified": "uk_netdev_txq_info_get(struct uk_netdev *, int, struct uk_netdev_queue_info *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netdev.h"
],
"name": "uk_netdev_txq_info_get",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"dev_conf"
],
"args_type": [
"struct uk_netdev *",
"const struct uk_netdev_conf *"
],
"fully_qualified": "uk_netdev_configure(struct uk_netdev *, const struct uk_netdev_conf *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netdev.h"
],
"name": "uk_netdev_configure",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"queue_id",
"nb_desc",
"rx_conf"
],
"args_type": [
"struct uk_netdev *",
"int",
"int",
"struct uk_netdev_rxqueue_conf *"
],
"fully_qualified": "uk_netdev_rxq_configure(struct uk_netdev *, int, int, struct uk_netdev_rxqueue_conf *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netdev.h"
],
"name": "uk_netdev_rxq_configure",
"nb_args": 4,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"queue_id",
"nb_desc",
"tx_conf"
],
"args_type": [
"struct uk_netdev *",
"int",
"int",
"struct uk_netdev_txqueue_conf *"
],
"fully_qualified": "uk_netdev_txq_configure(struct uk_netdev *, int, int, struct uk_netdev_txqueue_conf *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netdev.h"
],
"name": "uk_netdev_txq_configure",
"nb_args": 4,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev"
],
"args_type": [
"struct uk_netdev *"
],
"fully_qualified": "uk_netdev_start(struct uk_netdev *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netdev.h"
],
"name": "uk_netdev_start",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"hwaddr"
],
"args_type": [
"struct uk_netdev *",
"const struct uk_hwaddr *"
],
"fully_qualified": "uk_netdev_hwaddr_set(struct uk_netdev *, const struct uk_hwaddr *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netdev.h"
],
"name": "uk_netdev_hwaddr_set",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev"
],
"args_type": [
"struct uk_netdev *"
],
"fully_qualified": "uk_netdev_hwaddr_get(struct uk_netdev *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netdev.h"
],
"name": "uk_netdev_hwaddr_get",
"nb_args": 1,
"return_value": "const struct uk_hwaddr *",
"usage": 2
},
{
"args_name": [
"dev"
],
"args_type": [
"struct uk_netdev *"
],
"fully_qualified": "uk_netdev_promiscuous_get(struct uk_netdev *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netdev.h"
],
"name": "uk_netdev_promiscuous_get",
"nb_args": 1,
"return_value": "unsigned int",
"usage": 2
},
{
"args_name": [
"dev",
"mode"
],
"args_type": [
"struct uk_netdev *",
"unsigned int"
],
"fully_qualified": "uk_netdev_promiscuous_set(struct uk_netdev *, unsigned int)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netdev.h"
],
"name": "uk_netdev_promiscuous_set",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev"
],
"args_type": [
"struct uk_netdev *"
],
"fully_qualified": "uk_netdev_mtu_get(struct uk_netdev *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netdev.h"
],
"name": "uk_netdev_mtu_get",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dev",
"mtu"
],
"args_type": [
"struct uk_netdev *",
"int"
],
"fully_qualified": "uk_netdev_mtu_set(struct uk_netdev *, int)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/netdev.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uknetdev/include/uk/netdev.h"
],
"name": "uk_netdev_mtu_set",
"nb_args": 2,
"return_value": "int",
"usage": 2
}
]
}

48
libs/internal/ukring.json Normal file
View file

@ -0,0 +1,48 @@
{
"functions": [
{
"args_name": [
"count",
"a"
],
"args_type": [
"int",
"struct uk_alloc *"
],
"fully_qualified": "uk_ring_alloc(int, struct uk_alloc *)",
"headers": [
"<uk/ring.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukring/ring.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukring/include/uk/ring.h"
],
"name": "uk_ring_alloc",
"nb_args": 2,
"return_value": "struct uk_ring *",
"usage": 2
},
{
"args_name": [
"br",
"a"
],
"args_type": [
"struct uk_ring *",
"struct uk_alloc *"
],
"fully_qualified": "uk_ring_free(struct uk_ring *, struct uk_alloc *)",
"headers": [
"<uk/ring.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukring/ring.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukring/include/uk/ring.h"
],
"name": "uk_ring_free",
"nb_args": 2,
"return_value": "void",
"usage": 2
}
]
}

View file

@ -0,0 +1,24 @@
{
"functions": [
{
"args_name": [
"a"
],
"args_type": [
"struct uk_alloc *"
],
"fully_qualified": "uk_schedcoop_init(struct uk_alloc *)",
"headers": [
"<uk/schedcoop.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukschedcoop/schedcoop.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukschedcoop/include/uk/schedcoop.h"
],
"name": "uk_schedcoop_init",
"nb_args": 1,
"return_value": "struct uk_sched *",
"usage": 2
}
]
}

118
libs/internal/uksglist.json Normal file
View file

@ -0,0 +1,118 @@
{
"functions": [
{
"args_name": [
"buf",
"len"
],
"args_type": [
"void *",
"int"
],
"fully_qualified": "uk_sglist_count(void *, int)",
"headers": [
"<uk/sglist.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksglist/sglist.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksglist/include/uk/sglist.h"
],
"name": "uk_sglist_count",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"sg",
"buf",
"len"
],
"args_type": [
"struct uk_sglist *",
"void *",
"int"
],
"fully_qualified": "uk_sglist_append(struct uk_sglist *, void *, int)",
"headers": [
"<uk/sglist.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksglist/sglist.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksglist/include/uk/sglist.h"
],
"name": "uk_sglist_append",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"sg",
"source",
"offset",
"length"
],
"args_type": [
"struct uk_sglist *",
"const struct uk_sglist *",
"int",
"int"
],
"fully_qualified": "uk_sglist_append_sglist(struct uk_sglist *, const struct uk_sglist *, int, int)",
"headers": [
"<uk/sglist.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksglist/sglist.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksglist/include/uk/sglist.h"
],
"name": "uk_sglist_append_sglist",
"nb_args": 4,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"sg"
],
"args_type": [
"struct uk_sglist *"
],
"fully_qualified": "uk_sglist_length(struct uk_sglist *)",
"headers": [
"<uk/sglist.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksglist/sglist.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksglist/include/uk/sglist.h"
],
"name": "uk_sglist_length",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"first",
"second"
],
"args_type": [
"struct uk_sglist *",
"struct uk_sglist *"
],
"fully_qualified": "uk_sglist_join(struct uk_sglist *, struct uk_sglist *)",
"headers": [
"<uk/sglist.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksglist/sglist.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksglist/include/uk/sglist.h"
],
"name": "uk_sglist_join",
"nb_args": 2,
"return_value": "int",
"usage": 2
}
]
}

464
libs/internal/uksignal.json Normal file
View file

@ -0,0 +1,464 @@
{
"functions": [
{
"args_name": [
"set"
],
"args_type": [
"sigset_t *"
],
"fully_qualified": "sigemptyset(sigset_t *)",
"headers": [
"<signal.h>",
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/sigset.c"
],
"name": "sigemptyset",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"set"
],
"args_type": [
"sigset_t *"
],
"fully_qualified": "sigfillset(sigset_t *)",
"headers": [
"<signal.h>",
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/sigset.c"
],
"name": "sigfillset",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"set",
"signo"
],
"args_type": [
"sigset_t *",
"int"
],
"fully_qualified": "sigaddset(sigset_t *, int)",
"headers": [
"<signal.h>",
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/sigset.c"
],
"name": "sigaddset",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"set",
"signo"
],
"args_type": [
"sigset_t *",
"int"
],
"fully_qualified": "sigdelset(sigset_t *, int)",
"headers": [
"<signal.h>",
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/sigset.c"
],
"name": "sigdelset",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"set",
"signo"
],
"args_type": [
"const sigset_t *",
"int"
],
"fully_qualified": "sigismember(const sigset_t *, int)",
"headers": [
"<signal.h>",
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/sigset.c"
],
"name": "sigismember",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"sig"
],
"args_type": [
"struct uk_proc_sig *"
],
"fully_qualified": "uk_proc_sig_init(struct uk_proc_sig *)",
"headers": [
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/uk_signal.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/include/uk/uk_signal.h"
],
"name": "uk_proc_sig_init",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "uk_sig_handle_signals()",
"headers": [
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/uk_signal.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/include/uk/uk_signal.h"
],
"name": "uk_sig_handle_signals",
"nb_args": 0,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"tid",
"sig"
],
"args_type": [
"struct uk_thread *",
"int"
],
"fully_qualified": "uk_sig_thread_kill(struct uk_thread *, int)",
"headers": [
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/uk_signal.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/include/uk/uk_signal.h"
],
"name": "uk_sig_thread_kill",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"how",
"set",
"oldset"
],
"args_type": [
"int",
"const sigset_t *",
"sigset_t *"
],
"fully_qualified": "uk_thread_sigmask(int, const sigset_t *, sigset_t *)",
"headers": [
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/uk_signal.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/include/uk/uk_signal.h"
],
"name": "uk_thread_sigmask",
"nb_args": 3,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"signum",
"act",
"oldact"
],
"args_type": [
"int",
"const struct sigaction *",
"struct sigaction *"
],
"fully_qualified": "sigaction(int, const struct sigaction *, struct sigaction *)",
"headers": [
"<signal.h>",
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/signal.c"
],
"name": "sigaction",
"nb_args": 3,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"signum",
"handler"
],
"args_type": [
"int",
"sighandler_t"
],
"fully_qualified": "signal(int, sighandler_t)",
"headers": [
"<signal.h>",
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/signal.c"
],
"name": "signal",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"set"
],
"args_type": [
"sigset_t *"
],
"fully_qualified": "sigpending(sigset_t *)",
"headers": [
"<signal.h>",
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/signal.c"
],
"name": "sigpending",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"how",
"set",
"oldset"
],
"args_type": [
"int",
"const sigset_t *",
"sigset_t *"
],
"fully_qualified": "sigprocmask(int, const sigset_t *, sigset_t *)",
"headers": [
"<signal.h>",
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/signal.c"
],
"name": "sigprocmask",
"nb_args": 3,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"mask"
],
"args_type": [
"const sigset_t *"
],
"fully_qualified": "sigsuspend(const sigset_t *)",
"headers": [
"<signal.h>",
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/signal.c"
],
"name": "sigsuspend",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"set",
"sig"
],
"args_type": [
"const sigset_t *",
"int *"
],
"fully_qualified": "sigwait(const sigset_t *, int *)",
"headers": [
"<signal.h>",
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/signal.c"
],
"name": "sigwait",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"pid",
"sig"
],
"args_type": [
"pid_t",
"int"
],
"fully_qualified": "kill(pid_t, int)",
"headers": [
"<sys/types.h>",
"<signal.h>",
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/signal.c"
],
"name": "kill",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"pgrp",
"sig"
],
"args_type": [
"int",
"int"
],
"fully_qualified": "killpg(int, int)",
"headers": [
"<signal.h>",
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/signal.c"
],
"name": "killpg",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"sig"
],
"args_type": [
"int"
],
"fully_qualified": "raise(int)",
"headers": [
"<signal.h>",
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/signal.c"
],
"name": "raise",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"sig",
"flag"
],
"args_type": [
"int",
"int"
],
"fully_qualified": "siginterrupt(int,int)",
"headers": [
"<signal.h>",
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uksignal/signal.c"
],
"name": "siginterrupt",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"seconds"
],
"args_type": [
"unsigned int"
],
"fully_qualified": "alarm(unsigned int)",
"headers": [
"<unistd.h>",
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [],
"name": "alarm",
"nb_args": 1,
"return_value": "unsigned int",
"usage": 1
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "pause()",
"headers": [
"<unistd.h>",
"<uk/uk_signal.h>",
"<uk/bits/sigset.h>"
],
"location_file": [],
"name": "pause",
"nb_args": 0,
"return_value": "int",
"usage": 1
}
]
}

113
libs/internal/ukswrand.json Normal file
View file

@ -0,0 +1,113 @@
{
"functions": [
{
"args_name": [
"r",
"seedc",
"seedv"
],
"args_type": [
"struct uk_swrand *",
"unsigned int",
"unsigned int *"
],
"fully_qualified": "uk_swrand_init_r(struct uk_swrand *, unsigned int, const unsigned int *)",
"headers": [
"<uk/swrand.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukswrand/mwc.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukswrand/chacha.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukswrand/include/uk/swrand.h"
],
"name": "uk_swrand_init_r",
"nb_args": 3,
"return_value": "void",
"usage": 3
},
{
"args_name": [
"r"
],
"args_type": [
"struct uk_swrand *"
],
"fully_qualified": "uk_swrand_randr_r(struct uk_swrand *)",
"headers": [
"<uk/swrand.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukswrand/mwc.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukswrand/chacha.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukswrand/include/uk/swrand.h"
],
"name": "uk_swrand_randr_r",
"nb_args": 1,
"return_value": "int",
"usage": 3
},
{
"args_name": [],
"args_type": [],
"fully_qualified": "uk_swrandr_gen_seed32()",
"headers": [
"<uk/swrand.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukswrand/swrand.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukswrand/include/uk/swrand.h"
],
"name": "uk_swrandr_gen_seed32",
"nb_args": 0,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"buf",
"buflen"
],
"args_type": [
"void *",
"int"
],
"fully_qualified": "uk_swrand_fill_buffer(void *, int)",
"headers": [
"<uk/swrand.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukswrand/swrand.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukswrand/include/uk/swrand.h"
],
"name": "uk_swrand_fill_buffer",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"buf",
"buflen",
"flags"
],
"args_type": [
"void *",
"int",
"unsigned int"
],
"fully_qualified": "getrandom(void *, int, unsigned int)",
"headers": [
"<sys/random.h>",
"<uk/swrand.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukswrand/getrandom.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/ukswrand/include/sys/random.h"
],
"name": "getrandom",
"nb_args": 3,
"return_value": "ssize_t",
"usage": 2
}
]
}

373
libs/internal/uktime.json Normal file
View file

@ -0,0 +1,373 @@
{
"functions": [
{
"args_name": [
"clockid",
"sevp",
"timerid"
],
"args_type": [
"clockid_t",
"struct sigevent *__restrict",
"timer_t *__restrict"
],
"fully_qualified": "timer_create(clockid_t,struct sigevent *__restrict,timer_t *__restrict)",
"headers": [
"<signal.h>",
"<time.h>",
"<stdlib.h>",
"<unistd.h>",
"<stdio.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/timer.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/musl-imported/include/time.h"
],
"name": "timer_create",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"timerid"
],
"args_type": [
"timer_t"
],
"fully_qualified": "timer_delete(timer_t)",
"headers": [
"<time.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/timer.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/musl-imported/include/time.h"
],
"name": "timer_delete",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"timerid",
"flags",
"old_value",
"new_value"
],
"args_type": [
"timer_t",
"int",
"const struct itimerspec *__restrict",
"struct itimerspec *__restrict"
],
"fully_qualified": "timer_settime(timer_t, int, const struct itimerspec *__restrict ,struct itimerspec *__restrict)",
"headers": [
"<time.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/timer.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/musl-imported/include/time.h"
],
"name": "timer_settime",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"timerid",
"curr_value"
],
"args_type": [
"timer_t",
"struct itimerspec *"
],
"fully_qualified": "timer_gettime(timer_t, struct itimerspec *)",
"headers": [
"<time.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/timer.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/musl-imported/include/time.h"
],
"name": "timer_gettime",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"timerid"
],
"args_type": [
"timer_t"
],
"fully_qualified": "timer_getoverrun(timer_t)",
"headers": [
"<time.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/timer.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/musl-imported/include/time.h"
],
"name": "timer_getoverrun",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"filename",
"times"
],
"args_type": [
"const char *",
"const struct utimbuf *"
],
"fully_qualified": "utime(const char *, const struct utimbuf *)",
"headers": [
"<sys/types.h>",
"<utime.h>",
"<sys/time.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/time.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/musl-imported/include/utime.h"
],
"name": "utime",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"seconds"
],
"args_type": [
"unsigned int"
],
"fully_qualified": "sleep(unsigned int)",
"headers": [
"<time.h>",
"<unistd.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/time.c"
],
"name": "sleep",
"nb_args": 1,
"return_value": "unsigned int",
"usage": 1
},
{
"args_name": [
"clk_id",
"res"
],
"args_type": [
"clockid_t",
"struct timespec *"
],
"fully_qualified": "clock_getres(clockid_t,struct timespec *)",
"headers": [
"<time.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/time.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/musl-imported/include/time.h"
],
"name": "clock_getres",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"clk_id",
"tp"
],
"args_type": [
"clockid_t",
"const struct timespec *"
],
"fully_qualified": "clock_settime(clockid_t, const struct timespec *)",
"headers": [
"<time.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/time.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/musl-imported/include/time.h"
],
"name": "clock_settime",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"which",
"new_value",
"old_value"
],
"args_type": [
"int",
"const struct itimerval *",
"struct itimerval *"
],
"fully_qualified": "setitimer(int, const struct itimerval *, struct itimerval *)",
"headers": [
"<sys/time.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/time.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/musl-imported/include/sys/time.h"
],
"name": "setitimer",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"req",
"rem"
],
"args_type": [
"const struct timespec*",
"struct timespec*"
],
"fully_qualified": "nanosleep(const struct timespec*,struct timespec*)",
"headers": [
"<time.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/musl-imported/include/time.h"
],
"name": "nanosleep",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"tloc"
],
"args_type": [
"time_t *"
],
"fully_qualified": "time(time_t *)",
"headers": [],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/musl-imported/include/time.h"
],
"name": "time",
"nb_args": 1,
"return_value": "time_t",
"usage": 2
},
{
"args_name": [
"tv",
"tz"
],
"args_type": [
"struct timeval *",
"void *"
],
"fully_qualified": "gettimeofday(struct timeval *,void *)",
"headers": [
"<sys/time.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/musl-imported/include/sys/time.h"
],
"name": "gettimeofday",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"clk_id",
"tp"
],
"args_type": [
"clockid_t",
"struct timespec*"
],
"fully_qualified": "clock_gettime(clockid_t,struct timespec*)",
"headers": [
"<time.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/musl-imported/include/time.h"
],
"name": "clock_gettime",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"buf"
],
"args_type": [
"struct tm *"
],
"fully_qualified": "times(struct tm *)",
"headers": [
"<sys/types.h>",
"<utime.h>",
"<sys/time.h>"
],
"location_file": [],
"name": "times",
"nb_args": 1,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"arg_constchar",
"arg_int"
],
"args_type": [
"const char *",
"const struct timeval*"
],
"fully_qualified": "utimes(const char *, const struct timeval*)",
"headers": [
"<sys/types.h>",
"<utime.h>",
"<sys/time.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/musl-imported/include/sys/time.h"
],
"name": "utimes",
"nb_args": 2,
"return_value": "int",
"usage": 1
},
{
"args_name": [
"tm"
],
"args_type": [
"struct tm *"
],
"fully_qualified": "timegm(struct tm *)",
"headers": [
"<time.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktime/musl-imported/src/timegm.c"
],
"name": "timegm",
"nb_args": 1,
"return_value": "time_t",
"usage": 1
}
]
}

View file

@ -0,0 +1,66 @@
{
"functions": [
{
"args_name": [
"month",
"is_leap_year"
],
"args_type": [
"int",
"int"
],
"fully_qualified": "uktimeconv_days_in_month(int, int)",
"headers": [
"<uk/timeconv.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktimeconv/timeconv.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktimeconv/include/uk/timeconv.h"
],
"name": "uktimeconv_days_in_month",
"nb_args": 2,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"year"
],
"args_type": [
"int"
],
"fully_qualified": "uktimeconv_is_leap_year(int)",
"headers": [
"<uk/timeconv.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktimeconv/timeconv.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktimeconv/include/uk/timeconv.h"
],
"name": "uktimeconv_is_leap_year",
"nb_args": 1,
"return_value": "int",
"usage": 2
},
{
"args_name": [
"dt"
],
"args_type": [
"struct uktimeconv_bmkclock *"
],
"fully_qualified": "uktimeconv_bmkclock_to_nsec(struct uktimeconv_bmkclock *)",
"headers": [
"<uk/timeconv.h>"
],
"location_file": [
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktimeconv/timeconv.c",
"/home/gain/dev/workdir_unikraft/unikraft/lib/uktimeconv/include/uk/timeconv.h"
],
"name": "uktimeconv_bmkclock_to_nsec",
"nb_args": 1,
"return_value": "int",
"usage": 2
}
]
}

2392
libs/internal/vfscore.json Normal file

File diff suppressed because it is too large Load diff

View file

@ -23,9 +23,7 @@
"redis-cli --scan | head -10", "redis-cli --scan | head -10",
"redis-cli --scan --pattern '*-11*'", "redis-cli --scan --pattern '*-11*'",
"redis-cli --scan --pattern 'user:*' | wc -l", "redis-cli --scan --pattern 'user:*' | wc -l",
"redis-cli --intrinsic-latency 5",
"redis-cli --rdb /tmp/dump.rdb", "redis-cli --rdb /tmp/dump.rdb",
"redis-cli --slave",
"redis-cli --latency" "redis-cli --latency"
] ]
} }

View file

@ -8,7 +8,6 @@
"select * from tbl1;", "select * from tbl1;",
".mode list", ".mode list",
"select * from tbl1;", "select * from tbl1;",
".separator ",
"select * from tbl1;", "select * from tbl1;",
".mode quote", ".mode quote",
"select * from tbl1;", "select * from tbl1;",
@ -23,34 +22,19 @@
".mode insert new_table", ".mode insert new_table",
"select * from tbl1;", "select * from tbl1;",
".mode list", ".mode list",
".separator |",
".output test_file_1.txt",
"select * from tbl1;", "select * from tbl1;",
"SELECT * FROM tbl1;", "SELECT * FROM tbl1;",
".once -x",
"SELECT * FROM tbl1;", "SELECT * FROM tbl1;",
"CREATE TABLE images(name TEXT, type TEXT, img BLOB);",
"UPDATE docs SET body=edit(body) WHERE name='report-15';",
"UPDATE pics SET img=edit(img,'gimp') WHERE id='pic-1542';",
"SELECT length(edit(img,'gimp')) WHERE id='pic-1542';",
".header on",
".mode csv",
"SELECT * FROM tbl1;",
".system export.csv",
"create table tab1(one varchar(10), two smallint);",
".import export.csv tab1",
".save ex1.db",
".help", ".help",
"CREATE TABLE selftest(tno INTEGER PRIMARY KEY, op TEXT, cmd TEXT, ans TEXT);", "CREATE TABLE selftest(tno INTEGER PRIMARY KEY, op TEXT, cmd TEXT, ans TEXT);",
"CREATE TABLE tbl2 (f1 varchar(30) primary key,f2 text,f3 real);", "CREATE TABLE tbl2 (f1 varchar(30) primary key,f2 text,f3 real);",
"insert into tbl1 values(10, 'hello!',10);",
"insert into tbl2 values(10, 'hello!',10);", "insert into tbl2 values(10, 'hello!',10);",
"UPDATE tbl2 SET f2=\",salut\", WHERE f2='hello!';", "insert into tbl2 values(20, 'hello!',20);",
"UPDATE tbl2 SET f2='salut' WHERE f2='hello!';",
"select * from tbl1;",
"select * from tbl2;", "select * from tbl2;",
"UPDATE tbl2 SET text=edit(text, \"salut\",) WHERE text='hello!';", "DELETE FROM tbl2 WHERE f2='salut';",
"select * from tbl2;", "DELETE FROM tbl2 WHERE f2='hello';",
"DELETE tbl2 WHERE f2=\"salut\";",
"DELETE FROM tbl2 WHERE f2=\"salut\",;",
"DROP TABLE tbl2;", "DROP TABLE tbl2;",
".quit" ".quit"
] ]

View file

@ -5,28 +5,7 @@
"create table tbl1(one varchar(10), two smallint);", "create table tbl1(one varchar(10), two smallint);",
"insert into tbl1 values('hello!',10);", "insert into tbl1 values('hello!',10);",
"insert into tbl1 values('goodbye', 20);", "insert into tbl1 values('goodbye', 20);",
"select * from tbl1;",
".mode list",
"select * from tbl1;",
"select * from tbl1;",
".mode quote",
"select * from tbl1;",
".mode line",
"select * from tbl1;",
".mode column",
"select * from tbl1;",
".width 12 6",
"select * from tbl1;",
".header off",
"select * from tbl1;",
".mode insert new_table",
"select * from tbl1;",
".mode list",
"select * from tbl1;",
"SELECT * FROM tbl1;", "SELECT * FROM tbl1;",
"SELECT * FROM tbl1;",
".help",
"CREATE TABLE selftest(tno INTEGER PRIMARY KEY, op TEXT, cmd TEXT, ans TEXT);",
"CREATE TABLE tbl2 (f1 varchar(30) primary key,f2 text,f3 real);", "CREATE TABLE tbl2 (f1 varchar(30) primary key,f2 text,f3 real);",
"insert into tbl2 values(10, 'hello!',10);", "insert into tbl2 values(10, 'hello!',10);",
"insert into tbl2 values(20, 'hello!',20);", "insert into tbl2 values(20, 'hello!',20);",
@ -35,6 +14,7 @@
"select * from tbl2;", "select * from tbl2;",
"DELETE FROM tbl2 WHERE f2='salut';", "DELETE FROM tbl2 WHERE f2='salut';",
"DELETE FROM tbl2 WHERE f2='hello';", "DELETE FROM tbl2 WHERE f2='hello';",
".help",
"DROP TABLE tbl2;", "DROP TABLE tbl2;",
".quit" ".quit"
] ]