Page 1 of 1

New Site Feature: XNU Cross-Reference

PostPosted: Thu Aug 09, 2018 1:48 am
by morpheus
Hi everyone,

I've been using find . -type f | xargs grep .... on the XNU sources for so long I figured I might as well make it a bit easier for me and give it a web interface. Thus is born http://newosxbook.com/xxr . I'm not linking it yet because it might not be ready for the world.

Please give it a try? This is a very simple interface, I'll gladly take your suggestions. In the list already (in addition to an autocomplete search box) is
maybe turning this into a full fledged concordance (i.e. not just the references, but also a little entry on each variable or function name searched).

J

P.S If you want to do me a favor and try some ethical hacking on it, I'm sure there's an overlooked command injection there, too.

Re: New Site Feature: XNU Cross-Reference

PostPosted: Thu Aug 09, 2018 7:14 am
by matteyeux
Thank you.
It's far better than using Github's search

Re: New Site Feature: XNU Cross-Reference

PostPosted: Fri Aug 10, 2018 6:50 pm
by morpheus
Thank you. Made some improvements, including colorizing the matches, and adding +/- to hide/view matches. Also added sources back to 10.6.8 . Latest of each MacOS ver.

Re: New Site Feature: XNU Cross-Reference

PostPosted: Mon Aug 13, 2018 4:55 pm
by backendbilly
J, I truly believe you should add some form of a captcha to protect against (at the minimal) DDoS attacks or bots. Just a thought. I have't checked input sanitization but you get the picture.

Re: New Site Feature: XNU Cross-Reference

PostPosted: Wed Aug 15, 2018 12:32 am
by morpheus
Can anyone recommend a NON GOOGLE Captcha service? I'll gladly put that in .

Re: New Site Feature: XNU Cross-Reference

PostPosted: Wed Aug 15, 2018 5:28 pm
by backendbilly
Try this free, PHP based, open source Captcha system:

https://www.phpcaptcha.org/try-securimage/

Re: New Site Feature: XNU Cross-Reference

PostPosted: Tue Mar 05, 2019 8:30 pm
by DanyL
Hello J,
I just noticed there is a problem viewing dirs/files with special characters in their name (try viewing /libkern/c++ or any file inside).

Love your books btw, being using them as a reference for years now, alongside the j* tool family.
בברכה, הסייס (לשעבר) מהרצלייה. ;)