Skip to content

Commit 5538c3a

Browse files
committed
pre-commit
1 parent b25550a commit 5538c3a

536 files changed

Lines changed: 2445 additions & 2490 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
./docker
2-
./build
2+
./build

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Describe here the issue that you are experiencing.
4646

4747
<!-- Which build-* script are you using for the build? -->
4848

49-
**Build Type:**
49+
**Build Type:**
5050
- [ ] cmake
5151
- [ ] custom build
5252

.gitlab-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ image: pdschbrt/phasar-build-environment:latest
33
stages:
44
- build
55

6-
# install the necessary build tools
7-
before_script:
6+
# install the necessary build tools
7+
before_script:
88
- git submodule update --init --recursive
9-
9+
1010
build:
1111
stage: build
1212
# build all interesting targets
13-
script:
13+
script:
1414
- mkdir -p build
1515
- cd build
1616
- echo "checking RAM"

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ include_directories(${SQLITE3_INCLUDE_DIR})
179179
# LLVM
180180
if (NOT PHASAR_IN_TREE)
181181
# Only search for LLVM if we build out of tree
182-
find_package(LLVM 12 REQUIRED CONFIG)
182+
find_package(LLVM 13 REQUIRED CONFIG)
183183
include_directories(${LLVM_INCLUDE_DIRS})
184184
link_directories(${LLVM_LIB_PATH} ${LLVM_LIBRARY_DIRS})
185185
endif()

CODING_GUIDELINES.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
Coding Guidelines
22
=================
33

4-
In order to unify the look and feel of the Phasar code base, code should be
4+
In order to unify the look and feel of the Phasar code base, code should be
55
written according to the LLVM coding guidelines wherever possible. The LLVM
66
coding guidelines can be here:
77

88
https://llvm.org/docs/CodingStandards.html
99

10-
In addition, the pre-commit script in githooks/ has to be copied into the
10+
In addition, the pre-commit script in githooks/ has to be copied into the
1111
./git/hooks/ directory:
1212

1313
$ cp githooks/pre-commit .git/hooks/
1414

1515
The script will run some useful clang-tidy checks as well as clang-format over
1616
the entire code base just before your changes are committed in order to reduce
17-
the number of unnecessary merge conflicts and to unify the code base.
17+
the number of unnecessary merge conflicts and to unify the code base.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ A reviewer may request changes or ask questions during the review. If you are un
2828
Please remember that you are asking for valuable time from other professional developers.
2929

3030
## Please Help Us to Improve Phasar
31-
If you are using PhASAR without the wish or expertise to contribute to its code base, you can still help us by providing valuable feedback using this [web from](https://docs.google.com/forms/d/e/1FAIpQLScUXZcdXZe1rY8VxUKjXhTtrsNX5TysNUO4yD8-gaIHiqqWTQ/viewform). Please also refer to [Contributing to PhASAR](https://github.com/secure-software-engineering/phasar/wiki/Contributing-to-PhASAR).
31+
If you are using PhASAR without the wish or expertise to contribute to its code base, you can still help us by providing valuable feedback using this [web from](https://docs.google.com/forms/d/e/1FAIpQLScUXZcdXZe1rY8VxUKjXhTtrsNX5TysNUO4yD8-gaIHiqqWTQ/viewform). Please also refer to [Contributing to PhASAR](https://github.com/secure-software-engineering/phasar/wiki/Contributing-to-PhASAR).
3232

3333
Thanks for contributing to the PhASAR project.
3434

LICENSE.txt

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ Phasar Release License (MIT license)
44

55
Copyright (c) 2017 - 2020 Philipp Schubert and others
66

7-
Permission is hereby granted, free of charge, to any person obtaining a copy of
8-
this software and associated documentation files (the "Software"), to deal in
9-
the Software without restriction, including without limitation the rights to
10-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
11-
of the Software, and to permit persons to whom the Software is furnished to do
7+
Permission is hereby granted, free of charge, to any person obtaining a copy of
8+
this software and associated documentation files (the "Software"), to deal in
9+
the Software without restriction, including without limitation the rights to
10+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
11+
of the Software, and to permit persons to whom the Software is furnished to do
1212
so, subject to the following conditions:
1313

14-
The above copyright notice and this permission notice shall be included in all
14+
The above copyright notice and this permission notice shall be included in all
1515
copies or substantial portions of the Software.
1616

17-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2323
SOFTWARE.
2424

2525

@@ -200,7 +200,7 @@ e main offices of Hwaci. Anyone is free to copy, modify, publish, use, compile,
200200
eans.
201201

202202
The previous paragraph applies to the deliverable code and documentation in SQL
203-
ite - those parts of the SQLite library that you actually bundle and ship with
203+
ite - those parts of the SQLite library that you actually bundle and ship with
204204
a larger application. Some scripts used as part of the build process (for examp
205205
le the "configure" scripts generated by autoconf) might fall under other open-s
206206
ource licenses. Nothing from these build scripts ever reaches the final deliver
@@ -209,15 +209,15 @@ able SQLite library, however, and so the licenses associated with those scripts
209209
rary.
210210

211211
All of the deliverable code in SQLite has been written from scratch. No code ha
212-
s been taken from other projects or from the open internet. Every line of code
212+
s been taken from other projects or from the open internet. Every line of code
213213
can be traced back to its original author, and all of those authors have public
214214
domain dedications on file. So the SQLite code base is clean and is uncontamin
215215
ated with licensed code from other projects.
216216

217217

218218
JSON
219219
-------------------------------------------------------------------------------
220-
MIT License
220+
MIT License
221221

222222
Copyright (c) 2013-2019 Niels Lohmann
223223

config/DOTGraphConfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@
4646
"fontsize": "11",
4747
"arrowsize": "0.7"
4848
}
49-
}
49+
}

config/README.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
The files glibc_function_list_v1-04.05.17.conf and
2-
llvm_intrinsics_function_list_v1-04.05.17.conf contain a list of all functions
1+
The files glibc_function_list_v1-04.05.17.conf and
2+
llvm_intrinsics_function_list_v1-04.05.17.conf contain a list of all functions
33
defined in the GNU libc implementation and LLVM intrinsic functions, respectively.
4-
The functions are loaded into Phasar on start. When Phasar analyzes LLVM IR
4+
The functions are loaded into Phasar on start. When Phasar analyzes LLVM IR
55
it frequently observes call-sites that call a function contained in one of those
66
lists. Following these calls is usually not desired as a user oftentimes do not
77
want to analyze the next level of lowering (to libc). For pseudo functions like
8-
LLVM intrinsic functions there is no source code to analyze as these functions
9-
are only used to describe semantics (an orthogonal approch to adding a new
10-
instruction); the code generator is responsible to replace the intrinsic
11-
functions with software or hardware implementation for the desired target
8+
LLVM intrinsic functions there is no source code to analyze as these functions
9+
are only used to describe semantics (an orthogonal approch to adding a new
10+
instruction); the code generator is responsible to replace the intrinsic
11+
functions with software or hardware implementation for the desired target
1212
architecture. Phasar models calls to these functions as identity (default) by a
1313
user can specify a different behavior if desired.

config/TaintConfigSchema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ R"(
6767
}
6868
}
6969
}
70-
)"_json
70+
)"_json

0 commit comments

Comments
 (0)