Skip to content

Commit f52192b

Browse files
committed
deps: add tools to pull lief
1 parent 9120924 commit f52192b

File tree

6 files changed

+1024
-0
lines changed

6 files changed

+1024
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ tools/*/*.i.tmp
144144
/deps/**/.github/
145145
# Ignore dependencies fetched by tools/v8/fetch_deps.py
146146
/deps/.cipd
147+
!deps/LIEF/**
147148

148149
# === Rules for Windows vcbuild.bat ===
149150
/temp-vcbuild

LICENSE

Lines changed: 206 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -960,6 +960,212 @@ The externally maintained libraries used by Node.js are:
960960
license.
961961
"""
962962

963+
- LIEF, located at deps/LIEF, is licensed as follows:
964+
"""
965+
Apache License
966+
Version 2.0, January 2004
967+
http://www.apache.org/licenses/
968+
969+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
970+
971+
1. Definitions.
972+
973+
"License" shall mean the terms and conditions for use, reproduction,
974+
and distribution as defined by Sections 1 through 9 of this document.
975+
976+
"Licensor" shall mean the copyright owner or entity authorized by
977+
the copyright owner that is granting the License.
978+
979+
"Legal Entity" shall mean the union of the acting entity and all
980+
other entities that control, are controlled by, or are under common
981+
control with that entity. For the purposes of this definition,
982+
"control" means (i) the power, direct or indirect, to cause the
983+
direction or management of such entity, whether by contract or
984+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
985+
outstanding shares, or (iii) beneficial ownership of such entity.
986+
987+
"You" (or "Your") shall mean an individual or Legal Entity
988+
exercising permissions granted by this License.
989+
990+
"Source" form shall mean the preferred form for making modifications,
991+
including but not limited to software source code, documentation
992+
source, and configuration files.
993+
994+
"Object" form shall mean any form resulting from mechanical
995+
transformation or translation of a Source form, including but
996+
not limited to compiled object code, generated documentation,
997+
and conversions to other media types.
998+
999+
"Work" shall mean the work of authorship, whether in Source or
1000+
Object form, made available under the License, as indicated by a
1001+
copyright notice that is included in or attached to the work
1002+
(an example is provided in the Appendix below).
1003+
1004+
"Derivative Works" shall mean any work, whether in Source or Object
1005+
form, that is based on (or derived from) the Work and for which the
1006+
editorial revisions, annotations, elaborations, or other modifications
1007+
represent, as a whole, an original work of authorship. For the purposes
1008+
of this License, Derivative Works shall not include works that remain
1009+
separable from, or merely link (or bind by name) to the interfaces of,
1010+
the Work and Derivative Works thereof.
1011+
1012+
"Contribution" shall mean any work of authorship, including
1013+
the original version of the Work and any modifications or additions
1014+
to that Work or Derivative Works thereof, that is intentionally
1015+
submitted to Licensor for inclusion in the Work by the copyright owner
1016+
or by an individual or Legal Entity authorized to submit on behalf of
1017+
the copyright owner. For the purposes of this definition, "submitted"
1018+
means any form of electronic, verbal, or written communication sent
1019+
to the Licensor or its representatives, including but not limited to
1020+
communication on electronic mailing lists, source code control systems,
1021+
and issue tracking systems that are managed by, or on behalf of, the
1022+
Licensor for the purpose of discussing and improving the Work, but
1023+
excluding communication that is conspicuously marked or otherwise
1024+
designated in writing by the copyright owner as "Not a Contribution."
1025+
1026+
"Contributor" shall mean Licensor and any individual or Legal Entity
1027+
on behalf of whom a Contribution has been received by Licensor and
1028+
subsequently incorporated within the Work.
1029+
1030+
2. Grant of Copyright License. Subject to the terms and conditions of
1031+
this License, each Contributor hereby grants to You a perpetual,
1032+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1033+
copyright license to reproduce, prepare Derivative Works of,
1034+
publicly display, publicly perform, sublicense, and distribute the
1035+
Work and such Derivative Works in Source or Object form.
1036+
1037+
3. Grant of Patent License. Subject to the terms and conditions of
1038+
this License, each Contributor hereby grants to You a perpetual,
1039+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
1040+
(except as stated in this section) patent license to make, have made,
1041+
use, offer to sell, sell, import, and otherwise transfer the Work,
1042+
where such license applies only to those patent claims licensable
1043+
by such Contributor that are necessarily infringed by their
1044+
Contribution(s) alone or by combination of their Contribution(s)
1045+
with the Work to which such Contribution(s) was submitted. If You
1046+
institute patent litigation against any entity (including a
1047+
cross-claim or counterclaim in a lawsuit) alleging that the Work
1048+
or a Contribution incorporated within the Work constitutes direct
1049+
or contributory patent infringement, then any patent licenses
1050+
granted to You under this License for that Work shall terminate
1051+
as of the date such litigation is filed.
1052+
1053+
4. Redistribution. You may reproduce and distribute copies of the
1054+
Work or Derivative Works thereof in any medium, with or without
1055+
modifications, and in Source or Object form, provided that You
1056+
meet the following conditions:
1057+
1058+
(a) You must give any other recipients of the Work or
1059+
Derivative Works a copy of this License; and
1060+
1061+
(b) You must cause any modified files to carry prominent notices
1062+
stating that You changed the files; and
1063+
1064+
(c) You must retain, in the Source form of any Derivative Works
1065+
that You distribute, all copyright, patent, trademark, and
1066+
attribution notices from the Source form of the Work,
1067+
excluding those notices that do not pertain to any part of
1068+
the Derivative Works; and
1069+
1070+
(d) If the Work includes a "NOTICE" text file as part of its
1071+
distribution, then any Derivative Works that You distribute must
1072+
include a readable copy of the attribution notices contained
1073+
within such NOTICE file, excluding those notices that do not
1074+
pertain to any part of the Derivative Works, in at least one
1075+
of the following places: within a NOTICE text file distributed
1076+
as part of the Derivative Works; within the Source form or
1077+
documentation, if provided along with the Derivative Works; or,
1078+
within a display generated by the Derivative Works, if and
1079+
wherever such third-party notices normally appear. The contents
1080+
of the NOTICE file are for informational purposes only and
1081+
do not modify the License. You may add Your own attribution
1082+
notices within Derivative Works that You distribute, alongside
1083+
or as an addendum to the NOTICE text from the Work, provided
1084+
that such additional attribution notices cannot be construed
1085+
as modifying the License.
1086+
1087+
You may add Your own copyright statement to Your modifications and
1088+
may provide additional or different license terms and conditions
1089+
for use, reproduction, or distribution of Your modifications, or
1090+
for any such Derivative Works as a whole, provided Your use,
1091+
reproduction, and distribution of the Work otherwise complies with
1092+
the conditions stated in this License.
1093+
1094+
5. Submission of Contributions. Unless You explicitly state otherwise,
1095+
any Contribution intentionally submitted for inclusion in the Work
1096+
by You to the Licensor shall be under the terms and conditions of
1097+
this License, without any additional terms or conditions.
1098+
Notwithstanding the above, nothing herein shall supersede or modify
1099+
the terms of any separate license agreement you may have executed
1100+
with Licensor regarding such Contributions.
1101+
1102+
6. Trademarks. This License does not grant permission to use the trade
1103+
names, trademarks, service marks, or product names of the Licensor,
1104+
except as required for reasonable and customary use in describing the
1105+
origin of the Work and reproducing the content of the NOTICE file.
1106+
1107+
7. Disclaimer of Warranty. Unless required by applicable law or
1108+
agreed to in writing, Licensor provides the Work (and each
1109+
Contributor provides its Contributions) on an "AS IS" BASIS,
1110+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
1111+
implied, including, without limitation, any warranties or conditions
1112+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
1113+
PARTICULAR PURPOSE. You are solely responsible for determining the
1114+
appropriateness of using or redistributing the Work and assume any
1115+
risks associated with Your exercise of permissions under this License.
1116+
1117+
8. Limitation of Liability. In no event and under no legal theory,
1118+
whether in tort (including negligence), contract, or otherwise,
1119+
unless required by applicable law (such as deliberate and grossly
1120+
negligent acts) or agreed to in writing, shall any Contributor be
1121+
liable to You for damages, including any direct, indirect, special,
1122+
incidental, or consequential damages of any character arising as a
1123+
result of this License or out of the use or inability to use the
1124+
Work (including but not limited to damages for loss of goodwill,
1125+
work stoppage, computer failure or malfunction, or any and all
1126+
other commercial damages or losses), even if such Contributor
1127+
has been advised of the possibility of such damages.
1128+
1129+
9. Accepting Warranty or Additional Liability. While redistributing
1130+
the Work or Derivative Works thereof, You may choose to offer,
1131+
and charge a fee for, acceptance of support, warranty, indemnity,
1132+
or other liability obligations and/or rights consistent with this
1133+
License. However, in accepting such obligations, You may act only
1134+
on Your own behalf and on Your sole responsibility, not on behalf
1135+
of any other Contributor, and only if You agree to indemnify,
1136+
defend, and hold each Contributor harmless for any liability
1137+
incurred by, or claims asserted against, such Contributor by reason
1138+
of your accepting any such warranty or additional liability.
1139+
1140+
END OF TERMS AND CONDITIONS
1141+
1142+
APPENDIX: How to apply the Apache License to your work.
1143+
1144+
To apply the Apache License to your work, attach the following
1145+
boilerplate notice, with the fields enclosed by brackets "{}"
1146+
replaced with your own identifying information. (Don't include
1147+
the brackets!) The text should be enclosed in the appropriate
1148+
comment syntax for the file format. We also recommend that a
1149+
file or class name and description of purpose be included on the
1150+
same "printed page" as the copyright notice for easier
1151+
identification within third-party archives.
1152+
1153+
Copyright 2017 - 2025 R. Thomas
1154+
Copyright 2017 - 2025 Quarkslab
1155+
1156+
Licensed under the Apache License, Version 2.0 (the "License");
1157+
you may not use this file except in compliance with the License.
1158+
You may obtain a copy of the License at
1159+
1160+
http://www.apache.org/licenses/LICENSE-2.0
1161+
1162+
Unless required by applicable law or agreed to in writing, software
1163+
distributed under the License is distributed on an "AS IS" BASIS,
1164+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1165+
See the License for the specific language governing permissions and
1166+
limitations under the License.
1167+
"""
1168+
9631169
- llhttp, located at deps/llhttp, is licensed as follows:
9641170
"""
9651171
This software is licensed under the MIT License.

0 commit comments

Comments
 (0)