--- Log opened Thu May 10 00:00:40 2018 |
00:10 | | Vornicus [Vorn@Nightstar-oe1443.res.rr.com] has joined #code |
00:10 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
00:51 | | himi [sjjf@Nightstar-1drtbs.anu.edu.au] has joined #code |
00:51 | | mode/#code [+o himi] by ChanServ |
00:56 | | celticminstrel [celticminst@Nightstar-9pn3il.dsl.bell.ca] has joined #code |
00:56 | | mode/#code [+o celticminstrel] by ChanServ |
01:09 | | Degi_ [Degi@Nightstar-sltdbm.dyn.telefonica.de] has joined #code |
01:13 | | Degi [Degi@Nightstar-sltdbm.dyn.telefonica.de] has quit [Ping timeout: 121 seconds] |
01:16 | | Degi_ is now known as Degi |
01:17 | | macdjord|slep is now known as macdjord |
01:58 | | Jessikat` [Jessikat@Nightstar-74jops.dab.02.net] has joined #code |
02:00 | | Jessikat [Jessikat@Nightstar-n6r.tcr.132.82.IP] has quit [Ping timeout: 121 seconds] |
03:25 | | Degi [Degi@Nightstar-sltdbm.dyn.telefonica.de] has quit [[NS] Quit: Leaving] |
04:02 | | jerith [jerith@Nightstar-ip7ar2.slipgate.net] has quit [The TLS connection was non-properly terminated.] |
04:22 | <&Derakon> | https://www.bleepingcomputer.com/news/security/poc-developed-for-coinhive-mining-in-excel-using-custom-javascript-functions/ |
04:36 | | celticminstrel [celticminst@Nightstar-9pn3il.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
04:36 | < Mahal> | Saw that earlier |
04:37 | | celticminstrel [celticminst@Nightstar-9pn3il.dsl.bell.ca] has joined #code |
04:37 | | mode/#code [+o celticminstrel] by ChanServ |
04:38 | | celticminstrel [celticminst@Nightstar-9pn3il.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
04:38 | | celticminstrel [celticminst@Nightstar-9pn3il.dsl.bell.ca] has joined #code |
04:38 | | mode/#code [+o celticminstrel] by ChanServ |
04:47 | | celticminstrel [celticminst@Nightstar-9pn3il.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
04:47 | | celticminstrel [celticminst@Nightstar-9pn3il.dsl.bell.ca] has joined #code |
04:47 | | mode/#code [+o celticminstrel] by ChanServ |
04:48 | | celticminstrel [celticminst@Nightstar-9pn3il.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
04:48 | | celticminstrel [celticminst@Nightstar-9pn3il.dsl.bell.ca] has joined #code |
04:48 | | mode/#code [+o celticminstrel] by ChanServ |
04:48 | | celticminstrel [celticminst@Nightstar-9pn3il.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
04:49 | | celticminstrel [celticminst@Nightstar-9pn3il.dsl.bell.ca] has joined #code |
04:49 | | mode/#code [+o celticminstrel] by ChanServ |
04:55 | | celticminstrel [celticminst@Nightstar-9pn3il.dsl.bell.ca] has quit [Client exited] |
05:13 | | Derakon is now known as Derakon[AFK] |
07:09 | | himi [sjjf@Nightstar-1drtbs.anu.edu.au] has quit [Ping timeout: 121 seconds] |
07:28 | | Jessikat` [Jessikat@Nightstar-74jops.dab.02.net] has quit [[NS] Quit: Bye] |
07:29 | | Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code |
07:33 | | Vornotron [Vorn@Nightstar-oe1443.res.rr.com] has joined #code |
07:33 | | mode/#code [+qo Vornotron Vornotron] by ChanServ |
07:35 | | Vornicus [Vorn@Nightstar-oe1443.res.rr.com] has quit [Ping timeout: 121 seconds] |
07:56 | <&[R]> | https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8154 |
08:07 | | Vornotron [Vorn@Nightstar-oe1443.res.rr.com] has quit [Connection closed] |
08:14 | | jerith [jerith@Nightstar-ip7ar2.slipgate.net] has joined #code |
08:14 | | mode/#code [+ao jerith jerith] by ChanServ |
08:34 | < Vorntastic> | Neat |
09:06 | <&McMartin> | Wow, gg gcc |
09:06 | <&McMartin> | signed integer overflow is no longer undefined behavior in gcc 8 |
09:06 | <&McMartin> | It is now, unless specified otherwise, an instant program crash |
09:06 | <&[R]> | Wait what |
09:06 | <&[R]> | It was undefined before? |
09:06 | <&McMartin> | Yes. |
09:06 | <&[R]> | ... |
09:06 | <&McMartin> | Still is, in the standard. |
09:06 | <&[R]> | That does not seem like an improvement |
09:07 | <&McMartin> | Most implementations just generate the "obvious" assembly language code and bitmask the result as needed. |
09:07 | <&McMartin> | gcc 8 also now enables -fstrict-aliasing at -O2 and above, which is also fuckin' lol because it breaks all type punning save one form that is not the idiomatic one. |
09:08 | <&McMartin> | gentoo apparently attempted to switch to gcc 8 in its experimental branch |
09:08 | <&McMartin> | It... it didn't end well. |
09:08 | <&McMartin> | Fedora has also just shipped gcc8 stock in F28. |
09:09 | <&McMartin> | I have a new task wrt this emulator project I work on now, because yeah it turns out register simulation code often relies on what is now -fwrapv |
09:09 | <&McMartin> | Time to see how many of these flags exist in prior editions of gcc |
09:09 | <&McMartin> | I'm hoping I can just set -fno-strict-aliasing -fno-strict-overflow |
09:19 | <&McMartin> | Looks like those go back to at least gcc 5 |
09:19 | <&McMartin> | anyone here still running gcc 4? |
09:19 | <&McMartin> | If so, can you check for the existence of the following flags: |
09:19 | <&McMartin> | -fno-strict-overflow |
09:19 | <&McMartin> | -fwrapv |
09:19 | <&McMartin> | -fno-strict-aliasing |
09:20 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
09:20 | | mode/#code [+o himi] by ChanServ |
09:20 | <&[R]> | Uhhh |
09:21 | <&[R]> | gcc (GCC) 4.6.1 20110819 (prerelease) |
09:21 | <&McMartin> | Can you check your manpages for the existence of those flags? (The no- ones might be filed without the no-) |
09:22 | <&McMartin> | I'm going to have to gate using them in our config script anyway, but it'll be good to know that they stay spelled the same back a reasonable distance. |
09:23 | <&[R]> | # gcc -fno-strict-overflow -fwrapv -fno-strict-aliasing -o test test.c; echo $? |
09:23 | <&[R]> | 0 |
09:23 | <&McMartin> | \0/ |
09:24 | <&[R]> | See also the -fwrapv option. Using -fwrapv means that integer signed overflow is fully defined: it wraps. When -fwrapv is used, there is no difference between -fstrict-overflow and -fno-strict-overflow for integers. |
09:24 | <&[R]> | With -fwrapv certain types of overflow are permitted. For example, if the compiler gets an overflow when doing arithmetic on constants, the overflowed value can still be used with -fwrapv, but not otherwise. |
09:24 | <&McMartin> | Yeah |
09:24 | <&McMartin> | Since this project is an emulator, -fwrapv explicitly specifies the behavior we demand |
09:25 | <&[R]> | The -fstrict-aliasing option is enabled at levels -O2, -O3, -Os. |
09:25 | <&[R]> | No mention of no-strict-aliasing |
09:25 | <&McMartin> | That's covered in bulk by a paragraph above all the -f options, if it's formatted like it is for gcc8 |
09:25 | | Kindamoody[zZz] is now known as Kindamoody|afk |
09:26 | <&McMartin> | strict aliasing only breaks type punning. |
09:27 | <&[R]> | Also you can thank Arch for breaking for me having a really old version of GCC |
09:27 | <&McMartin> | www.eng.utah.edu/~cs5785/slides-f10/Dangerous+Optimizations.pdf has a good rundown of dangerous optimizations |
09:27 | <&[R]> | Actually, my Deli installs probably have GCC 4 as well |
09:28 | <&[R]> | But I forget how to set up the hardware to boot |
09:28 | <&[R]> | Ughhhh |
09:29 | <&McMartin> | I used to keep a Trusty Tahr VM around because one of the crossdev kits I had couldn't actually build on GCCs later than 4.x |
09:29 | <&[R]> | Why do people think that slides are a good way to share information |
09:29 | <&McMartin> | Because they needed to make them anyway, and sometimes they're the only artifact |
09:29 | <&McMartin> | Here, have a blog post instead. https://blog.regehr.org/archives/1307 |
09:30 | <&McMartin> | (It's only about aliasing, though) |
09:45 | <&McMartin> | It turns out that it wasn't wrapping before though |
09:46 | <&McMartin> | At -O2 on GCC 4.4 it was producing incorrect code |
09:46 | <&McMartin> | The slides work through several "delightful" examples |
10:07 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code |
11:25 | | mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code |
11:25 | | mode/#code [+o mac] by ChanServ |
11:28 | | macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds] |
13:04 | | Degi [Degi@Nightstar-sltdbm.dyn.telefonica.de] has joined #code |
14:27 | <&ToxicFrog> | tfw you open a file and the first thing you see is a giant ascii-art skull occupying the entire first page of the file |
14:28 | <&[R]> | Nice |
14:29 | <&[R]> | So leaked document I guess? |
14:29 | <&[R]> | Some* |
14:41 | | Vornicus [Vorn@Nightstar-oe1443.res.rr.com] has joined #code |
14:41 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
14:47 | <@mac> | ToxicFrog: I see you've started adding proper headers to your perl files~ |
14:53 | <&ToxicFrog> | [R]: internal source code |
14:53 | <&ToxicFrog> | mac: it's not perl, but for some of this that might actually be a step up |
15:01 | <@mac> | ToxicFrog: Ouch~ |
15:01 | | mac is now known as macdjord|slep |
15:59 | | Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
16:24 | | Degi [Degi@Nightstar-sltdbm.dyn.telefonica.de] has quit [Connection closed] |
18:22 | | Kindamoody|afk is now known as Kindamoody |
18:22 | | Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code |
18:25 | | Emmy is now known as Emmy-afk |
19:26 | | Emmy-afk is now known as Emmy |
19:32 | | Degi [Degi@Nightstar-sltdbm.dyn.telefonica.de] has joined #code |
20:08 | <&McMartin> | We use dragons in ours |
20:08 | <&McMartin> | I just labeled stanzas with /* HIC SUNT DRACONES */ |
21:11 | | Teth [caius@Nightstar-qn38sl.res.rr.com] has joined #code |
21:22 | < Teth> | So, when do people actually talk in here? |
21:23 | <~Vornicus> | When all the weirdos are gone. But this is IRC. So |
21:24 | < Teth> | Indeed. |
21:24 | <&[R]> | Oh hey |
21:27 | | macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code |
21:28 | | mode/#code [+o macdjord] by ChanServ |
21:30 | | macdjord|slep [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds] |
22:00 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [The TLS connection was non-properly terminated.] |
22:21 | <&[R]> | if ! grep '^TrustedUserCAKeys /etc/ssh/master.pub$' /etc/ssh/sshd_config; then sed -i '1s,^,TrustedUserCAKeys /etc/ssh/master.pub\n,' /etc/ssh/sshd_config ; fi |
22:21 | <&[R]> | Weeeee |
23:12 | | Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
23:19 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds] |
23:33 | <&[R]> | $ ssh -i user/rstamer rstamer@10.0.10.12 cat .ssh/authorized_keys .ssh/config |
23:33 | <&[R]> | cat: .ssh/authorized_keys: No such file or directory |
23:33 | <&[R]> | cat: .ssh/config: No such file or directory |
23:33 | <&[R]> | Woo! |
23:42 | <&ToxicFrog> | huzzah |
23:42 | <&ToxicFrog> | Style nit: if ! fgrep -qx 'TrustedUserCAKeys /etc/ssh/master.pub' |
23:43 | <&[R]> | Ah thanks |
23:43 | <&[R]> | https://www.sweharris.org/post/2016-10-30-ssh-certs/ <-- following this BTW |
23:50 | | himi [sjjf@Nightstar-1drtbs.anu.edu.au] has joined #code |
23:50 | | mode/#code [+o himi] by ChanServ |
--- Log closed Fri May 11 00:00:42 2018 |