Commit Graph

174 Commits

Author SHA1 Message Date
Jack May 176c7d8b13
Pull all the Rust BPF tests into a single workspace so they share dependencies (#5878) 2019-09-11 14:55:58 -07:00
Jack May 1853771930
Add support for SDK sysvar types (#5876) 2019-09-10 18:53:02 -07:00
Jack May 008dcd71b9
BPF loader message nits (#5870) 2019-09-10 16:13:23 -07:00
Jack May 61fe1aa9cf
SDK cleanup to reduce featurization (#5856) 2019-09-09 16:38:52 -07:00
Jack May a317e9513f
Add sysvar support (#5838) 2019-09-09 10:55:35 -07:00
Jack May 1833db51a5
Cleanup program account def (#5833) 2019-09-06 17:32:14 -07:00
Justin Starry 81c36699c4
Add support for BPF program custom errors (#5743)
* Add support for BPF program custom errors

* Rename SOL_SUCCESS -> SUCCESS
2019-09-06 16:05:01 -07:00
Jack May 4c4b7d39b8
Cleanup program's ProcessInstruction (#5828) 2019-09-06 14:44:41 -07:00
Jack May d9817c153a
Switch programs to use Pubkey from SolPubkey (#5821) 2019-09-06 12:40:01 -07:00
Jack May e5f902369c
Rust BPF programs depend on Solana SDK (#5819) 2019-09-06 09:20:14 -07:00
Jack May 5fb2d7a98f
Add libstd support to Rust BPF (#5788) 2019-09-04 16:00:11 -07:00
Jack May ceaf4781b0
Pull in rbpf v0.1.15 (#5787) 2019-09-04 14:37:51 -07:00
Jack May 50214f059f
Pull in LLVM with stack location fixes (#5732) 2019-08-29 11:25:22 -07:00
Jack May 2803eb0d72
Use LLVM's C builtins for BPF (#5717) 2019-08-28 17:19:40 -07:00
Justin Starry 6979a17674
Enabling building for bpf stack bug test program (#5654) 2019-08-26 17:23:21 -04:00
Justin Starry bd20c5e791
Add test case for u128 panic (#5601)
* u128 panic

* Add test case for u128 memory out of bounds error

* Fix check
2019-08-26 16:31:06 -04:00
Jack May b4935ff4ed
Re enable c tests (#5634) 2019-08-26 12:52:16 -07:00
Michael Vines ba59741b60
Bump to 0.19.0-pre0 2019-08-25 21:47:29 -07:00
Jack May 877e7a3893 Disable C test (#5628) 2019-08-23 16:11:34 -07:00
Jack May 97ea75a890
Pull in solana_rbpf v0.1.14 (#5609) 2019-08-23 11:03:53 -07:00
Justin Starry 19d16e75c6
Fix clippy and lint issues in BPF test program (#5607)
* Revert "Add test program for BPF memory corruption bug (#5603)"

This reverts commit 63d62c33c6.

* Revert "Revert "Add test program for BPF memory corruption bug (#5603)""

This reverts commit 9502082cdaf2be6b28b365be645c52e0f9c7da4d.

* Fix clippy and fmt issues
2019-08-22 15:38:46 -04:00
Justin Starry 63d62c33c6
Add test program for BPF memory corruption bug (#5603)
* Add test program for BPF memory corruption bug

* @jackcmay feedback
2019-08-22 14:25:23 -04:00
Michael Vines b1203da82c
Bump to 0.18.0-pre2 2019-08-20 16:56:00 -07:00
Michael Vines dd4640e1ed
Revert "Revert "Bump version to 0.18.0-pre1""
This reverts commit 42c7d57fc0.
2019-08-05 15:55:13 -07:00
Michael Vines 42c7d57fc0
Revert "Bump version to 0.18.0-pre1"
This reverts commit 14f6d5c82b.
2019-08-05 15:53:55 -07:00
Michael Vines 14f6d5c82b
Bump version to 0.18.0-pre1 2019-08-05 15:11:44 -07:00
Dan Albert b8835312bb
Update cargo.toml files to 0.18.0-pre0 (#5303) 2019-07-27 11:42:06 -06:00
Michael Vines d2b21ce8d0
Stop trying to publish crates that are unpublishable 2019-07-12 21:53:09 -07:00
Rob Walker 0d27515d09
tmp dirs target to farf (#5079) 2019-07-12 18:28:42 -07:00
Jack May 2860d2fe27
Pull in support for Rust-BPF stack argument passing (#5038) 2019-07-11 14:27:18 -08:00
Jack May bc8f435d45
Shell script nits (#4982) 2019-07-09 12:09:13 -08:00
Jack May 50c6b5d62d
Work around missing lib on linux (Issue #4972) (#4975) 2019-07-08 22:24:57 -08:00
Jack May f9a2254688
Split out Rust BPF no-std stuff (#4968) 2019-07-08 20:28:05 -08:00
Jack May 841e5e326c
Program mutable lamports (#4964) 2019-07-08 15:52:25 -08:00
carllin 0c8f187993
remove syscall tick height (#4891) 2019-07-01 16:21:51 -07:00
Dan Albert 9911942dbd Increment cargo.toml files to v0.17.0 2019-06-22 04:35:25 +00:00
Jack May a38e1a81ef
Call do.sh from anywhere (#4771) 2019-06-21 12:26:17 -07:00
Jack May 407db65336 Add 128bit Rust BPF test (#4766)
automerge
2019-06-21 02:43:50 -07:00
Jack May 4177c56c51
Use real panic that reports file/line (#4758) 2019-06-20 19:10:03 -07:00
Jack May e59b53dfa8
BPF rust language updates (#4752) 2019-06-20 16:07:12 -07:00
Jack May b430762a23
check rust programs (#4688) 2019-06-20 07:43:31 -07:00
Jack May fdb57bc5db
Add Rust BPF Tick Height test (#4718) 2019-06-18 15:56:24 -07:00
Jack May 2a7a9fdf03
Re-org SDK dir (#4690) 2019-06-17 11:04:38 -07:00
Jack May bc44516eb4
Add test to exercise more args then registers (#4661) 2019-06-12 13:04:53 -07:00
Jack May b78a13d42c
Nits (#4662) 2019-06-12 13:04:24 -07:00
Jack May 0dcdc37fec
Split BPF loader to match the rest of the programs (#4636) 2019-06-12 08:49:59 -07:00
Jack May 439e7cc26a Add dependent crate test (#4647)
automerge
2019-06-11 11:45:12 -07:00
dependabot-preview[bot] 1d957b6b80 Bump byteorder from 1.3.1 to 1.3.2 (#4641)
Bumps [byteorder](https://github.com/BurntSushi/byteorder) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/BurntSushi/byteorder/releases)
- [Changelog](https://github.com/BurntSushi/byteorder/blob/master/CHANGELOG.md)
- [Commits](https://github.com/BurntSushi/byteorder/compare/1.3.1...1.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-11 11:21:26 -07:00
Rob Walker e56430c9fb
make runtime depend on bpf_loader (#4601)
* make runtime depend on bpf_loader

* remove vote redundancy, move bpf_loader to genesis, export program\! from bpf_loader crate

* move bpf_loader specification into genesis

* bpf tests to use genesis with bpf

* need to avoid depending on programs, except for macros
2019-06-11 10:27:22 -07:00
Jack May be3a0b6b10 Build/clean all (#4626)
automerge
2019-06-10 11:15:28 -07:00