OpenBSD CVS

CVS log for src/share/man/man1/clang-local.1


[BACK] Up to [local] / src / share / man / man1

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.24 / (download) - annotate - [select for diffs], Sun Jun 2 15:40:43 2024 UTC (4 days, 3 hours ago) by deraadt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.23: +9 -2 lines
Diff to previous 1.23 (colored)

add -fret-clean option (amd64 and i386 only at first), defaulting to off.
This causes the caller to cleans the return address off the stack after
a callq completes.  The option is best used in low-level libraries (such as
libc), because libc contains low-level system call stubs.  The option
reduces hints (found on the stale parts of the stack) about libc.so's mapping
location, and together with random-relinking, relro got/pic, and xonly
makes some exploit methods more difficult.
ok mortimer, mlarkin, much discussion with kettenis, in snaps for 2 weeks.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Feb 18 00:39:18 2022 UTC (2 years, 3 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.22: +8 -2 lines
Diff to previous 1.22 (colored)

Hint: people who want to use ubsan can use the ubsan_minimal runtime

Input & ok gnezdo@

Revision 1.22 / (download) - annotate - [select for diffs], Tue Sep 7 17:39:49 2021 UTC (2 years, 8 months ago) by semarie
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.21: +8 -2 lines
Diff to previous 1.21 (colored)

clang: add a new warning for %n format specifier usage in printf(3) family functions

ok deraadt@
different versions tested by jca@ naddy@ sthen@

Revision 1.21 / (download) - annotate - [select for diffs], Mon Oct 12 16:41:03 2020 UTC (3 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.20: +5 -4 lines
Diff to previous 1.20 (colored)

update retguard list

Revision 1.20 / (download) - annotate - [select for diffs], Sun Oct 27 00:21:47 2019 UTC (4 years, 7 months ago) by mortimer
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Document retguard for octeon in clang-local.

Prodded by Janne Johansson - thanks!

Revision 1.19 / (download) - annotate - [select for diffs], Fri Feb 22 15:28:43 2019 UTC (5 years, 3 months ago) by mortimer
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.18: +6 -4 lines
Diff to previous 1.18 (colored)

Improve the X86FixupGadgets pass:
- Target all four kinds of return bytes (c2, c3, ca, cb)
- Fix up instructions using both ModR/M and SIB bytes
- Force alignment before instructions with return bytes in immediates
- Force alignment before instructions that have return bytes in their encoding
- Add a command line switch to toggle the functionality.

ok deraadt@

Revision 1.18 / (download) - annotate - [select for diffs], Mon Dec 31 00:07:22 2018 UTC (5 years, 5 months ago) by jsg
Branch: MAIN
Changes since 1.17: +9 -2 lines
Diff to previous 1.17 (colored)

mention -mretpoline by default on amd64
ok guenther@ deraadt@

Revision 1.17 / (download) - annotate - [select for diffs], Sat Sep 29 05:42:38 2018 UTC (5 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

trim previous;

Revision 1.16 / (download) - annotate - [select for diffs], Fri Sep 28 00:33:34 2018 UTC (5 years, 8 months ago) by mortimer
Branch: MAIN
Changes since 1.15: +10 -2 lines
Diff to previous 1.15 (colored)

Document retguard and options to disable it.
ok deraadt@

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jun 13 04:34:41 2018 UTC (5 years, 11 months ago) by yasuoka
Branch: MAIN
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Tweak about "-p" and "-pg".

ok jsg

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jun 7 09:41:46 2018 UTC (6 years ago) by jmc
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored)

tweak previous;

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jun 7 05:40:08 2018 UTC (6 years ago) by yasuoka
Branch: MAIN
Changes since 1.12: +5 -2 lines
Diff to previous 1.12 (colored)

Mention enabling PIE by default is turned off by using "-pg".

Revision 1.12 / (download) - annotate - [select for diffs], Sun Apr 29 02:31:11 2018 UTC (6 years, 1 month ago) by mortimer
Branch: MAIN
Changes since 1.11: +7 -2 lines
Diff to previous 1.11 (colored)

Mention the X86FixupGadgets pass in clang-local.
ok tj@ schwarze@

Revision 1.11 / (download) - annotate - [select for diffs], Thu Oct 5 15:13:43 2017 UTC (6 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.10: +8 -2 lines
Diff to previous 1.10 (colored)

clang does not search /usr/local;

from janne johansson
ok patrick

Revision 1.10 / (download) - annotate - [select for diffs], Wed Sep 13 14:19:57 2017 UTC (6 years, 8 months ago) by anton
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Fix typo; ok benno@ jmc@ sthen@ tb@

Revision 1.9 / (download) - annotate - [select for diffs], Sat Jul 29 21:01:13 2017 UTC (6 years, 10 months ago) by kettenis
Branch: MAIN
Changes since 1.8: +14 -2 lines
Diff to previous 1.8 (colored)

Document that builtins for certain malloc(3)-like and free(3)-like
functions are disabled.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jul 29 20:49:32 2017 UTC (6 years, 10 months ago) by kettenis
Branch: MAIN
Changes since 1.7: +6 -2 lines
Diff to previous 1.7 (colored)

Document that -Waddress-of-packed-member is disabled by default.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jun 23 06:07:51 2017 UTC (6 years, 11 months ago) by tedu
Branch: MAIN
Changes since 1.6: +6 -2 lines
Diff to previous 1.6 (colored)

i didn't know we had clang-local until reminded by jsg.
mention the disabling of ident strings.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jun 6 09:42:09 2017 UTC (7 years ago) by jsg
Branch: MAIN
Changes since 1.5: +8 -2 lines
Diff to previous 1.5 (colored)

mention -fwrapv being on by default

Revision 1.5 / (download) - annotate - [select for diffs], Sun Mar 12 01:21:32 2017 UTC (7 years, 2 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.4: +5 -2 lines
Diff to previous 1.4 (colored)

Colour diagnostic messages are now disabled by default.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Feb 14 12:50:15 2017 UTC (7 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

tweak previous; ok jsg, who reminded me the same text in
gcc-local needed bumped too;

Revision 1.3 / (download) - annotate - [select for diffs], Sun Feb 12 09:55:15 2017 UTC (7 years, 3 months ago) by jsg
Branch: MAIN
Changes since 1.2: +14 -5 lines
Diff to previous 1.2 (colored)

mention -Wpointer-sign being off by default

Revision 1.2 / (download) - annotate - [select for diffs], Tue Sep 27 19:33:57 2016 UTC (7 years, 8 months ago) by pascal
Branch: MAIN
Changes since 1.1: +5 -3 lines
Diff to previous 1.1 (colored)

Small nit from kettenis@: -fstrict-aliasing is turned on if -Ofast.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Sep 27 18:13:27 2016 UTC (7 years, 8 months ago) by pascal
Branch: MAIN

Add a clang-local(1) man page, similar to gcc-local(1).  This documents
OpenBSD-specific quirks for LLVM/clang.  To be expanded as we go along.

idea from kettenis@, ok deraadt@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.