===========================================================
                                      .___ __  __   
          _________________  __ __  __| _/|__|/  |_ 
         / ___\_` __ \__  \ |  |  \/ __ | | \\_  __\
        / /_/  >  | \// __ \|  |  / /_/ | |  ||  |  
        \___  /|__|  (____  /____/\____ | |__||__|  
       /_____/            \/           \/           
              grep rough audit - static analysis tool
                  v2.8 written by @Wireghoul
=================================[justanotherhacker.com]===
drawterm-20170818/cpu-bl.c-248-
drawterm-20170818/cpu-bl.c:249:	na = netmkaddr(host, "tcp", "17010");
drawterm-20170818/cpu-bl.c-250-	if((*fd = dial(na, 0, dir, 0)) < 0)
##############################################
drawterm-20170818/cpu-bl.c-407-	int fd;
drawterm-20170818/cpu-bl.c:408:	fd = dial(netmkaddr(authserver, "tcp", "567"), 0, 0, 0);
drawterm-20170818/cpu-bl.c-409-	//print("authdial %d\n", fd);
##############################################
drawterm-20170818/cpu.c-249-
drawterm-20170818/cpu.c:250:	na = netmkaddr(host, "tcp", "17010");
drawterm-20170818/cpu.c-251-	if((*fd = dial(na, 0, dir, 0)) < 0)
##############################################
drawterm-20170818/cpu.c-408-	int fd;
drawterm-20170818/cpu.c:409:	fd = dial(netmkaddr(authserver, "tcp", "567"), 0, 0, 0);
drawterm-20170818/cpu.c-410-	//print("authdial %d\n", fd);
##############################################
drawterm-20170818/gui-osx/screen.c-578-    
drawterm-20170818/gui-osx/screen.c:579:	screenload(r, gscreen->depth, byteaddr(gscreen, ZP), ZP,
drawterm-20170818/gui-osx/screen.c-580-		gscreen->width*sizeof(ulong));
##############################################
drawterm-20170818/gui-win32/screen.c-107-{
drawterm-20170818/gui-win32/screen.c:108:	screenload(r, gscreen->depth, byteaddr(gscreen, ZP), ZP,
drawterm-20170818/gui-win32/screen.c-109-		gscreen->width*sizeof(ulong));
##############################################
drawterm-20170818/gui-x11/x11.c-139-		for(y=r.min.y; y<r.max.y; y++)
drawterm-20170818/gui-x11/x11.c:140:			for(x=r.min.x, p=byteaddr(m, Pt(x,y)); x<r.max.x; x++, p++)
drawterm-20170818/gui-x11/x11.c-141-				*p = x11toplan9[*p];
##############################################
drawterm-20170818/gui-x11/x11.c-175-		for(y=r.min.y; y<r.max.y; y++)
drawterm-20170818/gui-x11/x11.c:176:			for(x=r.min.x, p=byteaddr(m, Pt(x,y)); x<r.max.x; x++, p++)
drawterm-20170818/gui-x11/x11.c-177-				*p = plan9tox11[*p];
##############################################
drawterm-20170818/gui-x11/x11.c-182-		for(y=r.min.y; y<r.max.y; y++)
drawterm-20170818/gui-x11/x11.c:183:			for(x=r.min.x, p=byteaddr(m, Pt(x,y)); x<r.max.x; x++, p++)
drawterm-20170818/gui-x11/x11.c-184-				*p = x11toplan9[*p];
##############################################
drawterm-20170818/include/memdraw.h-134-extern int		unloadmemimage(Memimage*, Rectangle, uchar*, int);
drawterm-20170818/include/memdraw.h:135:extern ulong*	wordaddr(Memimage*, Point);
drawterm-20170818/include/memdraw.h:136:extern uchar*	byteaddr(Memimage*, Point);
drawterm-20170818/include/memdraw.h-137-extern int		drawclip(Memimage*, Rectangle*, Memimage*, Point*, Memimage*, Point*, Rectangle*, Rectangle*);
##############################################
drawterm-20170818/include/user.h-66-extern	int	listen(char*, char*);
drawterm-20170818/include/user.h:67:extern	char *netmkaddr(char*, char*, char*);
drawterm-20170818/include/user.h-68-extern	int	reject(int, char*, char*);
##############################################
drawterm-20170818/kern/devip.c-72-static	Conv*	protoclone(Proto*, char*, int);
drawterm-20170818/kern/devip.c:73:static	void	setladdr(Conv*);
drawterm-20170818/kern/devip.c-74-
##############################################
drawterm-20170818/kern/devip.c-292-		cv->rport = rport;
drawterm-20170818/kern/devip.c:293:		setladdr(cv);
drawterm-20170818/kern/devip.c-294-		cv->state = "Established";
##############################################
drawterm-20170818/kern/devip.c-382-static void
drawterm-20170818/kern/devip.c:383:setladdr(Conv *c)
drawterm-20170818/kern/devip.c-384-{
##############################################
drawterm-20170818/kern/devip.c-486-			so_connect(c->sfd, c->raddr, c->rport);
drawterm-20170818/kern/devip.c:487:			setladdr(c);
drawterm-20170818/kern/devip.c-488-			c->state = "Established";
##############################################
drawterm-20170818/kern/fns.h-196-int		nrand(int);
drawterm-20170818/kern/fns.h:197:int		okaddr(ulong, ulong, int);
drawterm-20170818/kern/fns.h-198-int		openmode(ulong);
##############################################
drawterm-20170818/kern/fns.h-354-long		userwrite(char*, int);
drawterm-20170818/kern/fns.h:355:#define	validaddr(a, b, c)
drawterm-20170818/kern/fns.h-356-void		validname(char*, int);
##############################################
drawterm-20170818/kern/sysfile.c-592-	l = n;
drawterm-20170818/kern/sysfile.c:593:	validaddr(buf, l, 1);
drawterm-20170818/kern/sysfile.c-594-	c = fdtochan(fd, -1, 0, 1);
##############################################
drawterm-20170818/kern/sysfile.c-611-	l = n;
drawterm-20170818/kern/sysfile.c:612:	validaddr(buf, l, 1);
drawterm-20170818/kern/sysfile.c:613:	validaddr(name, 1, 0);
drawterm-20170818/kern/sysfile.c-614-	c = namec(name, Aaccess, 0, 0);
##############################################
drawterm-20170818/kern/sysfile.c-629-
drawterm-20170818/kern/sysfile.c:630:	validaddr(name, 1, 0);
drawterm-20170818/kern/sysfile.c-631-
##############################################
drawterm-20170818/kern/sysfile.c-673-
drawterm-20170818/kern/sysfile.c:674:		validaddr((ulong)spec, 1, 0);
drawterm-20170818/kern/sysfile.c-675-		bogus.spec = spec;
##############################################
drawterm-20170818/kern/sysfile.c-689-		bogus.spec = 0;
drawterm-20170818/kern/sysfile.c:690:		validaddr((ulong)arg0, 1, 0);
drawterm-20170818/kern/sysfile.c-691-		c0 = namec(arg0, Abind, 0, 0);
##############################################
drawterm-20170818/kern/sysfile.c-698-
drawterm-20170818/kern/sysfile.c:699:	validaddr((ulong)arg1, 1, 0);
drawterm-20170818/kern/sysfile.c-700-	c1 = namec(arg1, Amount, 0, 0);
##############################################
drawterm-20170818/kern/sysfile.c-743-		}
drawterm-20170818/kern/sysfile.c:744:		validaddr(old, 1, 0);
drawterm-20170818/kern/sysfile.c-745-		/*
##############################################
drawterm-20170818/kern/sysfile.c-781-	}
drawterm-20170818/kern/sysfile.c:782:	validaddr(name, 1, 0);
drawterm-20170818/kern/sysfile.c-783-	c = namec(name, Acreate, mode, perm);
##############################################
drawterm-20170818/kern/sysfile.c-820-	validstat(buf, l);
drawterm-20170818/kern/sysfile.c:821:	validaddr(name, 1, 0);
drawterm-20170818/kern/sysfile.c-822-	c = namec(name, Aaccess, 0, 0);
##############################################
drawterm-20170818/kern/sysfile.c-839-	l = n;
drawterm-20170818/kern/sysfile.c:840:	validaddr(buf, l, 0);
drawterm-20170818/kern/sysfile.c-841-	validstat(buf, l);
##############################################
drawterm-20170818/kern/sysproc.c-18-		else{
drawterm-20170818/kern/sysproc.c:19:			validaddr((ulong)status, 1, 0);
drawterm-20170818/kern/sysproc.c-20-			if(vmemchr(status, 0, ERRMAX) == 0){
##############################################
drawterm-20170818/libauthsrv/authdial.c-25-		ndbfree(nt);
drawterm-20170818/libauthsrv/authdial.c:26:		return dial(netmkaddr(server, netroot, "ticket"), 0, 0, 0);
drawterm-20170818/libauthsrv/authdial.c-27-	} else {
drawterm-20170818/libauthsrv/authdial.c-28-		/* look for one relative to my machine */
drawterm-20170818/libauthsrv/authdial.c:29:		return dial(netmkaddr("$auth", netroot, "ticket"), 0, 0, 0);
drawterm-20170818/libauthsrv/authdial.c-30-	}
##############################################
drawterm-20170818/libc/netmkaddr.c-8-char *
drawterm-20170818/libc/netmkaddr.c:9:netmkaddr(char *linear, char *defnet, char *defsrv)
drawterm-20170818/libc/netmkaddr.c-10-{
##############################################
drawterm-20170818/libmemdraw/alloc.c-133-ulong*
drawterm-20170818/libmemdraw/alloc.c:134:wordaddr(Memimage *i, Point p)
drawterm-20170818/libmemdraw/alloc.c-135-{
drawterm-20170818/libmemdraw/alloc.c:136:	return (ulong*) ((uintptr)byteaddr(i, p) & ~(sizeof(ulong)-1));
drawterm-20170818/libmemdraw/alloc.c-137-}
##############################################
drawterm-20170818/libmemdraw/alloc.c-139-uchar*
drawterm-20170818/libmemdraw/alloc.c:140:byteaddr(Memimage *i, Point p)
drawterm-20170818/libmemdraw/alloc.c-141-{
##############################################
drawterm-20170818/libmemdraw/cload.c-19-	y = r.min.y;
drawterm-20170818/libmemdraw/cload.c:20:	linep = byteaddr(i, Pt(r.min.x, y));
drawterm-20170818/libmemdraw/cload.c-21-	elinep = linep+bpl;
##############################################
drawterm-20170818/libmemdraw/cload.c-25-				break;
drawterm-20170818/libmemdraw/cload.c:26:			linep = byteaddr(i, Pt(r.min.x, y));
drawterm-20170818/libmemdraw/cload.c-27-			elinep = linep+bpl;
##############################################
drawterm-20170818/libmemdraw/draw.c-73-	memones->clipr = Rect(-0x3FFFFFF, -0x3FFFFFF, 0x3FFFFFF, 0x3FFFFFF);
drawterm-20170818/libmemdraw/draw.c:74:	*byteaddr(memones, ZP) = ~0;
drawterm-20170818/libmemdraw/draw.c-75-
##############################################
drawterm-20170818/libmemdraw/draw.c-78-	memzeros->clipr = Rect(-0x3FFFFFF, -0x3FFFFFF, 0x3FFFFFF, 0x3FFFFFF);
drawterm-20170818/libmemdraw/draw.c:79:	*byteaddr(memzeros, ZP) = 0;
drawterm-20170818/libmemdraw/draw.c-80-
##############################################
drawterm-20170818/libmemdraw/draw.c-435-
drawterm-20170818/libmemdraw/draw.c:436:	uchar	*bytey0s;		/* byteaddr(Pt(img->r.min.x, img->r.min.y)) */
drawterm-20170818/libmemdraw/draw.c:437:	uchar	*bytermin;	/* byteaddr(Pt(r.min.x, img->r.min.y)) */
drawterm-20170818/libmemdraw/draw.c:438:	uchar	*bytey0e;		/* byteaddr(Pt(img->r.max.x, img->r.min.y)) */
drawterm-20170818/libmemdraw/draw.c-439-	int		bwidth;
##############################################
drawterm-20170818/libmemdraw/draw.c-536-
drawterm-20170818/libmemdraw/draw.c:537:	p.bytey0s = byteaddr(img, Pt(img->r.min.x, img->r.min.y));
drawterm-20170818/libmemdraw/draw.c:538:	p.bytermin = byteaddr(img, Pt(r.min.x, img->r.min.y));
drawterm-20170818/libmemdraw/draw.c:539:	p.bytey0e = byteaddr(img, Pt(img->r.max.x, img->r.min.y));
drawterm-20170818/libmemdraw/draw.c-540-	p.bwidth = sizeof(ulong)*img->width;
##############################################
drawterm-20170818/libmemdraw/draw.c-661-
drawterm-20170818/libmemdraw/draw.c:662:	dir = (needbuf && byteaddr(dst, r.min) > byteaddr(src, sr.min)) ? -1 : 1;
drawterm-20170818/libmemdraw/draw.c-663-	spar.dir = mpar.dir = dpar.dir = dir;
##############################################
drawterm-20170818/libmemdraw/draw.c-1914-	val = 0;
drawterm-20170818/libmemdraw/draw.c:1915:	p = byteaddr(i, pt);
drawterm-20170818/libmemdraw/draw.c-1916-	switch(bpp=i->depth){
##############################################
drawterm-20170818/libmemdraw/draw.c-2141-		dwid = dst->width*sizeof(ulong);
drawterm-20170818/libmemdraw/draw.c:2142:		dp = byteaddr(dst, par->r.min);
drawterm-20170818/libmemdraw/draw.c-2143-		v = par->sdval;
##############################################
drawterm-20170818/libmemdraw/draw.c-2244-
drawterm-20170818/libmemdraw/draw.c:2245:		if(src->data == dst->data && byteaddr(dst, par->r.min) > byteaddr(src, par->sr.min))
drawterm-20170818/libmemdraw/draw.c-2246-			dir = -1;
##############################################
drawterm-20170818/libmemdraw/draw.c-2251-		dwid = dst->width*sizeof(ulong);
drawterm-20170818/libmemdraw/draw.c:2252:		sp = byteaddr(src, par->sr.min);
drawterm-20170818/libmemdraw/draw.c:2253:		dp = byteaddr(dst, par->r.min);
drawterm-20170818/libmemdraw/draw.c-2254-		if(dir == -1){
##############################################
drawterm-20170818/libmemdraw/draw.c-2278-
drawterm-20170818/libmemdraw/draw.c:2279:		sp = byteaddr(src, par->sr.min);
drawterm-20170818/libmemdraw/draw.c:2280:		dp = byteaddr(dst, par->r.min);
drawterm-20170818/libmemdraw/draw.c:2281:		mp = byteaddr(par->mask, par->mr.min);
drawterm-20170818/libmemdraw/draw.c-2282-		swid = src->width*sizeof(ulong);
##############################################
drawterm-20170818/libmemdraw/draw.c-2285-
drawterm-20170818/libmemdraw/draw.c:2286:		if(src->data == dst->data && byteaddr(dst, par->r.min) > byteaddr(src, par->sr.min)){
drawterm-20170818/libmemdraw/draw.c-2287-			dir = -1;
##############################################
drawterm-20170818/libmemdraw/draw.c-2402-	maskwid = mask->width*sizeof(ulong);
drawterm-20170818/libmemdraw/draw.c:2403:	rp = byteaddr(mask, mr.min);
drawterm-20170818/libmemdraw/draw.c-2404-	npack = 8/depth;
##############################################
drawterm-20170818/libmemdraw/draw.c-2406-
drawterm-20170818/libmemdraw/draw.c:2407:	wp = byteaddr(dst, r.min);
drawterm-20170818/libmemdraw/draw.c-2408-	dstwid = dst->width*sizeof(ulong);
##############################################
drawterm-20170818/libmemdraw/draw.c-2537-		for(y=i->r.min.y; y<i->r.max.y; y++)
drawterm-20170818/libmemdraw/draw.c:2538:			memset24(byteaddr(i, Pt(i->r.min.x, y)), bits, Dx(i->r));
drawterm-20170818/libmemdraw/draw.c-2539-		break;
##############################################
drawterm-20170818/libmemdraw/draw.c-2542-			bits = (bits << d) | bits;
drawterm-20170818/libmemdraw/draw.c:2543:		memsetl(wordaddr(i, i->r.min), bits, i->width*Dy(i->r));
drawterm-20170818/libmemdraw/draw.c-2544-		break;
##############################################
drawterm-20170818/libmemdraw/drawtest.c-241-		v = 0;
drawterm-20170818/libmemdraw/drawtest.c:242:		p = data+(byteaddr(img, Pt(0,y))-(uchar*)img->data->bdata);
drawterm-20170818/libmemdraw/drawtest.c-243-		Bprint(&b, "%-4d\t", y);
##############################################
drawterm-20170818/libmemdraw/drawtest.c-284-
drawterm-20170818/libmemdraw/drawtest.c:285:	delta = (uchar*)byteaddr(dst, p)-(uchar*)dst->data->bdata;
drawterm-20170818/libmemdraw/drawtest.c-286-	dp = (uchar*)dst->data->bdata+delta;
##############################################
drawterm-20170818/libmemdraw/drawtest.c-292-			dp[0], dp[1], dp[2], dp[3], sdp[0], sdp[1], sdp[2], sdp[3]);
drawterm-20170818/libmemdraw/drawtest.c:293:		fprint(2, "addresses dst %p src %p mask %p\n", dp, byteaddr(src, sp), byteaddr(mask, mp));
drawterm-20170818/libmemdraw/drawtest.c-294-		dumpimage("src", src, src->data->bdata, sp);
##############################################
drawterm-20170818/libmemdraw/drawtest.c-313-
drawterm-20170818/libmemdraw/drawtest.c:314:	dp = wordaddr(dst, Pt(0, y));
drawterm-20170818/libmemdraw/drawtest.c-315-	saved = savedstbits + y*dst->width;
##############################################
drawterm-20170818/libmemdraw/drawtest.c-782-
drawterm-20170818/libmemdraw/drawtest.c:783:	p = byteaddr(img, pt);
drawterm-20170818/libmemdraw/drawtest.c-784-	v = p[0]|(p[1]<<8)|(p[2]<<16)|(p[3]<<24);
##############################################
drawterm-20170818/libmemdraw/drawtest.c-892-
drawterm-20170818/libmemdraw/drawtest.c:893:	p = byteaddr(img, pt);
drawterm-20170818/libmemdraw/drawtest.c-894-	v = p[0]|(p[1]<<8)|(p[2]<<16)|(p[3]<<24);
##############################################
drawterm-20170818/libmemdraw/fillpoly.c-38-	p.y = y;
drawterm-20170818/libmemdraw/fillpoly.c:39:	memset(byteaddr(dst, p), srcval, right-left);
drawterm-20170818/libmemdraw/fillpoly.c-40-}
##############################################
drawterm-20170818/libmemdraw/line.c-66-	y = p0.y;
drawterm-20170818/libmemdraw/line.c:67:	d = byteaddr(dst, p0);
drawterm-20170818/libmemdraw/line.c-68-	deltay *= 2;
##############################################
drawterm-20170818/libmemdraw/line.c-107-	x = p0.x;
drawterm-20170818/libmemdraw/line.c:108:	d = byteaddr(dst, p0);
drawterm-20170818/libmemdraw/line.c-109-	deltax *= 2;
##############################################
drawterm-20170818/libmemdraw/line.c-145-		if(clipr.min.y<=y && y<clipr.max.y){
drawterm-20170818/libmemdraw/line.c:146:			d = byteaddr(dst, Pt(x, y));
drawterm-20170818/libmemdraw/line.c-147-			sy = drawreplxy(src->r.min.y, src->r.max.y, y+dsrc.y);
drawterm-20170818/libmemdraw/line.c:148:			s = byteaddr(src, Pt(sx, sy));
drawterm-20170818/libmemdraw/line.c-149-			*d ^= (*d^*s) & m;
##############################################
drawterm-20170818/libmemdraw/line.c-180-			m = m0 >> (x&(7/dst->depth))*bpp;
drawterm-20170818/libmemdraw/line.c:181:			d = byteaddr(dst, Pt(x, y));
drawterm-20170818/libmemdraw/line.c-182-			sx = drawreplxy(src->r.min.x, src->r.max.x, x+dsrc.x);
drawterm-20170818/libmemdraw/line.c:183:			s = byteaddr(src, Pt(sx, sy));
drawterm-20170818/libmemdraw/line.c-184-			*d ^= (*d^*s) & m;
##############################################
drawterm-20170818/libmemdraw/line.c-208-		if(clipr.min.y<=y && y<clipr.max.y){
drawterm-20170818/libmemdraw/line.c:209:			d = byteaddr(dst, Pt(x, y));
drawterm-20170818/libmemdraw/line.c:210:			s = byteaddr(src, addpt(dsrc, Pt(x, y)));
drawterm-20170818/libmemdraw/line.c-211-			*d ^= (*d^*s) & m;
##############################################
drawterm-20170818/libmemdraw/line.c-239-			m = m0 >> (x&(7/dst->depth))*bpp;
drawterm-20170818/libmemdraw/line.c:240:			d = byteaddr(dst, Pt(x, y));
drawterm-20170818/libmemdraw/line.c:241:			s = byteaddr(src, addpt(dsrc, Pt(x, y)));
drawterm-20170818/libmemdraw/line.c-242-			*d ^= (*d^*s) & m;
##############################################
drawterm-20170818/libmemdraw/load.c-17-	ndata = l*Dy(r);
drawterm-20170818/libmemdraw/load.c:18:	q = byteaddr(i, r.min);
drawterm-20170818/libmemdraw/load.c-19-	mx = 7/i->depth;
##############################################
drawterm-20170818/libmemdraw/unload.c-17-	ndata = l*Dy(r);
drawterm-20170818/libmemdraw/unload.c:18:	q = byteaddr(i, r.min);
drawterm-20170818/libmemdraw/unload.c-19-	for(y=r.min.y; y<r.max.y; y++){
##############################################
drawterm-20170818/secstore.c-59-	}
drawterm-20170818/secstore.c:60:	fd = dial(netmkaddr(p, "tcp", "5356"), 0, 0, 0);
drawterm-20170818/secstore.c-61-	if(fd >= 0)