diff options
| author | KyleMiles <krm504@nyu.edu> | 2022-08-29 13:11:11 -0400 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2022-08-29 13:11:11 -0400 |
| commit | 995ce65e1c59cb276dd9ca77fe216a8b7639db9d (patch) | |
| tree | 71d79dc2a1c974670ef3424e740e644819f81e56 /rust/src | |
| parent | 3d1aaeb4d5e72ba6adcaa9eb24429879f5ad3250 (diff) | |
Rust API : Update and add copyrights
Diffstat (limited to 'rust/src')
39 files changed, 116 insertions, 33 deletions
diff --git a/rust/src/architecture.rs b/rust/src/architecture.rs index 0f364b86..95bfedd6 100644 --- a/rust/src/architecture.rs +++ b/rust/src/architecture.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/backgroundtask.rs b/rust/src/backgroundtask.rs index 451ecd07..0a893ccd 100644 --- a/rust/src/backgroundtask.rs +++ b/rust/src/backgroundtask.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/basicblock.rs b/rust/src/basicblock.rs index a1a2e244..abc57a7a 100644 --- a/rust/src/basicblock.rs +++ b/rust/src/basicblock.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/binaryreader.rs b/rust/src/binaryreader.rs index c92b9e50..c84dfed5 100644 --- a/rust/src/binaryreader.rs +++ b/rust/src/binaryreader.rs @@ -1,3 +1,17 @@ +// Copyright 2022 Vector 35 Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use binaryninjacore_sys::*; use crate::binaryview::BinaryView; diff --git a/rust/src/binaryview.rs b/rust/src/binaryview.rs index 5209f744..311e867e 100644 --- a/rust/src/binaryview.rs +++ b/rust/src/binaryview.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/binarywriter.rs b/rust/src/binarywriter.rs index c137af93..f56ed108 100644 --- a/rust/src/binarywriter.rs +++ b/rust/src/binarywriter.rs @@ -1,3 +1,17 @@ +// Copyright 2022 Vector 35 Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use binaryninjacore_sys::*; use crate::binaryview::BinaryView; diff --git a/rust/src/callingconvention.rs b/rust/src/callingconvention.rs index a58e3bac..627e3dfc 100644 --- a/rust/src/callingconvention.rs +++ b/rust/src/callingconvention.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/command.rs b/rust/src/command.rs index 3251e6b0..39bf329e 100644 --- a/rust/src/command.rs +++ b/rust/src/command.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/custombinaryview.rs b/rust/src/custombinaryview.rs index 35e4b0fe..50938018 100644 --- a/rust/src/custombinaryview.rs +++ b/rust/src/custombinaryview.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/databuffer.rs b/rust/src/databuffer.rs index 2d8af7eb..cda78e80 100644 --- a/rust/src/databuffer.rs +++ b/rust/src/databuffer.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/datavariable.rs b/rust/src/datavariable.rs deleted file mode 100644 index 8b137891..00000000 --- a/rust/src/datavariable.rs +++ /dev/null @@ -1 +0,0 @@ - diff --git a/rust/src/debuginfo.rs b/rust/src/debuginfo.rs index 56786d19..aad0f996 100644 --- a/rust/src/debuginfo.rs +++ b/rust/src/debuginfo.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/demangle.rs b/rust/src/demangle.rs index ccc3d2de..11d54b39 100644 --- a/rust/src/demangle.rs +++ b/rust/src/demangle.rs @@ -1,3 +1,17 @@ +// Copyright 2022 Vector 35 Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use binaryninjacore_sys::*; use std::{ffi::CStr, result}; diff --git a/rust/src/disassembly.rs b/rust/src/disassembly.rs index 9f86a72b..616fad35 100644 --- a/rust/src/disassembly.rs +++ b/rust/src/disassembly.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/ffi.rs b/rust/src/ffi.rs index bd17b482..d25a2a83 100644 --- a/rust/src/ffi.rs +++ b/rust/src/ffi.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/fileaccessor.rs b/rust/src/fileaccessor.rs index e45dec89..2f764099 100644 --- a/rust/src/fileaccessor.rs +++ b/rust/src/fileaccessor.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/filemetadata.rs b/rust/src/filemetadata.rs index f694655d..5745e857 100644 --- a/rust/src/filemetadata.rs +++ b/rust/src/filemetadata.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/flowgraph.rs b/rust/src/flowgraph.rs index bd30224e..c55970e2 100644 --- a/rust/src/flowgraph.rs +++ b/rust/src/flowgraph.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/function.rs b/rust/src/function.rs index 4ce90457..079d0ae5 100644 --- a/rust/src/function.rs +++ b/rust/src/function.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/headless.rs b/rust/src/headless.rs index f7f40ca4..5f56a881 100644 --- a/rust/src/headless.rs +++ b/rust/src/headless.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/interaction.rs b/rust/src/interaction.rs index 93796fb1..74b6ebc6 100644 --- a/rust/src/interaction.rs +++ b/rust/src/interaction.rs @@ -1,3 +1,17 @@ +// Copyright 2022 Vector 35 Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use binaryninjacore_sys::*; use std::ffi::CString; diff --git a/rust/src/lib.rs b/rust/src/lib.rs index 21198051..414d8738 100644 --- a/rust/src/lib.rs +++ b/rust/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/linearview.rs b/rust/src/linearview.rs index a4221443..ff8cbfff 100644 --- a/rust/src/linearview.rs +++ b/rust/src/linearview.rs @@ -1,3 +1,17 @@ +// Copyright 2022 Vector 35 Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use binaryninjacore_sys::*; use crate::binaryview::BinaryView; diff --git a/rust/src/llil/block.rs b/rust/src/llil/block.rs index 63e93338..c58dbb2a 100644 --- a/rust/src/llil/block.rs +++ b/rust/src/llil/block.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/llil/expression.rs b/rust/src/llil/expression.rs index 4cf2cad5..925d1958 100644 --- a/rust/src/llil/expression.rs +++ b/rust/src/llil/expression.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/llil/function.rs b/rust/src/llil/function.rs index adc39f13..82166269 100644 --- a/rust/src/llil/function.rs +++ b/rust/src/llil/function.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/llil/instruction.rs b/rust/src/llil/instruction.rs index 109e5ea7..348a2cf1 100644 --- a/rust/src/llil/instruction.rs +++ b/rust/src/llil/instruction.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/llil/lifting.rs b/rust/src/llil/lifting.rs index 90c5b46a..f61d6b92 100644 --- a/rust/src/llil/lifting.rs +++ b/rust/src/llil/lifting.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/llil/mod.rs b/rust/src/llil/mod.rs index 862cf4ae..bf70a247 100644 --- a/rust/src/llil/mod.rs +++ b/rust/src/llil/mod.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/llil/operation.rs b/rust/src/llil/operation.rs index 55d384e9..e0cff43d 100644 --- a/rust/src/llil/operation.rs +++ b/rust/src/llil/operation.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/platform.rs b/rust/src/platform.rs index 9d7987c4..1e84e7ec 100644 --- a/rust/src/platform.rs +++ b/rust/src/platform.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/rc.rs b/rust/src/rc.rs index e15bbeef..b31c4a5a 100644 --- a/rust/src/rc.rs +++ b/rust/src/rc.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/section.rs b/rust/src/section.rs index cfad97c0..547f1d34 100644 --- a/rust/src/section.rs +++ b/rust/src/section.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/segment.rs b/rust/src/segment.rs index 1dd3fb7f..38c1dd1f 100644 --- a/rust/src/segment.rs +++ b/rust/src/segment.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/settings.rs b/rust/src/settings.rs index 86904c38..027e8c38 100644 --- a/rust/src/settings.rs +++ b/rust/src/settings.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/string.rs b/rust/src/string.rs index 647ef9b0..86decf79 100644 --- a/rust/src/string.rs +++ b/rust/src/string.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/symbol.rs b/rust/src/symbol.rs index 28e655e0..74932051 100644 --- a/rust/src/symbol.rs +++ b/rust/src/symbol.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/rust/src/tags.rs b/rust/src/tags.rs index ac66b279..2db58892 100644 --- a/rust/src/tags.rs +++ b/rust/src/tags.rs @@ -1,3 +1,17 @@ +// Copyright 2022 Vector 35 Inc. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use binaryninjacore_sys::*; use crate::binaryview::BinaryView; diff --git a/rust/src/types.rs b/rust/src/types.rs index 34b1e597..22271bad 100644 --- a/rust/src/types.rs +++ b/rust/src/types.rs @@ -1,4 +1,4 @@ -// Copyright 2021 Vector 35 Inc. +// Copyright 2021-2022 Vector 35 Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. |
