Skip to content

Commit e962438

Browse files
authored
Merge pull request #490 from secure-software-engineering/f-FixPointsToSet
Fix points to set
2 parents eb80ede + 31dcee4 commit e962438

552 files changed

Lines changed: 3374 additions & 2596 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"

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

config/llvm_intrinsics_function_list_v1-04.05.17.conf

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
llvm.va_start
2-
llvm.va_end
3-
llvm.va_copy
4-
llvm.gcroot
5-
llvm.gcread
6-
llvm.gcwrite
7-
llvm.returnaddress
8-
llvm.addressofreturnaddress
9-
llvm.frameaddress
1+
llvm.va_start
2+
llvm.va_end
3+
llvm.va_copy
4+
llvm.gcroot
5+
llvm.gcread
6+
llvm.gcwrite
7+
llvm.returnaddress
8+
llvm.addressofreturnaddress
9+
llvm.frameaddress
1010
llvm.localescape
1111
llvm.localrecover
1212
llvm.read_register.i32
1313
llvm.read_register.i64
1414
llvm.write_register.i32
1515
llvm.write_register.i64
16-
llvm.stacksave
17-
llvm.stackrestore
16+
llvm.stacksave
17+
llvm.stackrestore
1818
llvm.get.dynamic.area.offset.i32
1919
llvm.get.dynamic.area.offset.i64
20-
llvm.prefetch
21-
llvm.pcmarker
22-
llvm.readcyclecounter
23-
llvm.clear_cache
24-
llvm.instrprof_increment
25-
llvm.instrprof_increment_step
26-
llvm.instrprof_value_profile
27-
llvm.thread.pointer
20+
llvm.prefetch
21+
llvm.pcmarker
22+
llvm.readcyclecounter
23+
llvm.clear_cache
24+
llvm.instrprof_increment
25+
llvm.instrprof_increment_step
26+
llvm.instrprof_value_profile
27+
llvm.thread.pointer
2828
llvm.memcpy.p0i8.p0i8.i32
2929
llvm.memcpy.p0i8.p0i8.i64
3030
llvm.memmove.p0i8.p0i8.i32
@@ -192,7 +192,7 @@ llvm.masked.load.v16f32.p0v16f32
192192
llvm.masked.load.v2f64.p0v2f64
193193
llvm.masked.load.v8p0f64.p0v8p0f64
194194
llvm.masked.load.v8p0f_i32f.p0v8p0f_i32f
195-
llvm.masked.store.v8i32.p0v8i32
195+
llvm.masked.store.v8i32.p0v8i32
196196
llvm.masked.store.v16f32.p0v16f32
197197
llvm.masked.store.v8p0f64.p0v8p0f64
198198
llvm.masked.store.v4p0f_i32f.p0v4p0f_i32f
@@ -240,4 +240,4 @@ llvm.donothing
240240
llvm.experimental.deoptimize
241241
llvm.experimental.guard
242242
llvm.load.relative.iN
243-
llvm.memcpy.element.atomic.p0i8.p0i8
243+
llvm.memcpy.element.atomic.p0i8.p0i8

0 commit comments

Comments
 (0)