=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== ostinato-1.1/client/devicegroupdialog.cpp-44- ostinato-1.1/client/devicegroupdialog.cpp:45:inline OstEmul::Ip6Address IP6ADDR(UInt128 x) ostinato-1.1/client/devicegroupdialog.cpp-46-{ ############################################## ostinato-1.1/client/devicegroupdialog.cpp-343- OstEmul::Ip6Emulation *ip6 = devGrp->MutableExtension(OstEmul::ip6); ostinato-1.1/client/devicegroupdialog.cpp:344: ip6->mutable_address()->CopyFrom(IP6ADDR(ip6Address->value())); ostinato-1.1/client/devicegroupdialog.cpp-345- ip6->set_prefix_length(ip6PrefixLength->value()); ostinato-1.1/client/devicegroupdialog.cpp:346: ip6->mutable_step()->CopyFrom(IP6ADDR(ip6Step->value())); ostinato-1.1/client/devicegroupdialog.cpp:347: ip6->mutable_default_gateway()->CopyFrom(IP6ADDR(ip6Gateway->value())); ostinato-1.1/client/devicegroupdialog.cpp-348- ############################################## ostinato-1.1/common/arp.cpp-278- case OstProto::Arp::kFixed: ostinato-1.1/common/arp.cpp:279: hwAddr = data.sender_hw_addr(); ostinato-1.1/common/arp.cpp-280- break; ############################################## ostinato-1.1/common/arp.cpp-283- hwAddrStep; ostinato-1.1/common/arp.cpp:284: hwAddr = data.sender_hw_addr() + u; ostinato-1.1/common/arp.cpp-285- break; ############################################## ostinato-1.1/common/arp.cpp-288- hwAddrStep; ostinato-1.1/common/arp.cpp:289: hwAddr = data.sender_hw_addr() - u; ostinato-1.1/common/arp.cpp-290- break; ############################################## ostinato-1.1/common/arp.cpp-325- case OstProto::Arp::kFixedHost: ostinato-1.1/common/arp.cpp:326: protoAddr = data.sender_proto_addr(); ostinato-1.1/common/arp.cpp-327- break; ############################################## ostinato-1.1/common/arp.cpp-329- u = streamIndex % data.sender_proto_addr_count(); ostinato-1.1/common/arp.cpp:330: subnet = data.sender_proto_addr() ostinato-1.1/common/arp.cpp-331- & data.sender_proto_addr_mask(); ostinato-1.1/common/arp.cpp:332: host = (((data.sender_proto_addr() ostinato-1.1/common/arp.cpp-333- & ~data.sender_proto_addr_mask()) + u) ############################################## ostinato-1.1/common/arp.cpp-338- u = streamIndex % data.sender_proto_addr_count(); ostinato-1.1/common/arp.cpp:339: subnet = data.sender_proto_addr() ostinato-1.1/common/arp.cpp-340- & data.sender_proto_addr_mask(); ostinato-1.1/common/arp.cpp:341: host = (((data.sender_proto_addr() ostinato-1.1/common/arp.cpp-342- & ~data.sender_proto_addr_mask()) - u) ############################################## ostinato-1.1/common/arp.cpp-346- case OstProto::Arp::kRandomHost: ostinato-1.1/common/arp.cpp:347: subnet = data.sender_proto_addr() ostinato-1.1/common/arp.cpp-348- & data.sender_proto_addr_mask(); ############################################## ostinato-1.1/common/arp.cpp-386- case OstProto::Arp::kFixed: ostinato-1.1/common/arp.cpp:387: hwAddr = data.target_hw_addr(); ostinato-1.1/common/arp.cpp-388- break; ############################################## ostinato-1.1/common/arp.cpp-391- hwAddrStep; ostinato-1.1/common/arp.cpp:392: hwAddr = data.target_hw_addr() + u; ostinato-1.1/common/arp.cpp-393- break; ############################################## ostinato-1.1/common/arp.cpp-396- hwAddrStep; ostinato-1.1/common/arp.cpp:397: hwAddr = data.target_hw_addr() - u; ostinato-1.1/common/arp.cpp-398- break; ############################################## ostinato-1.1/common/arp.cpp-433- case OstProto::Arp::kFixed: ostinato-1.1/common/arp.cpp:434: protoAddr = data.target_proto_addr(); ostinato-1.1/common/arp.cpp-435- break; ############################################## ostinato-1.1/common/arp.cpp-437- u = streamIndex % data.target_proto_addr_count(); ostinato-1.1/common/arp.cpp:438: subnet = data.target_proto_addr() ostinato-1.1/common/arp.cpp-439- & data.target_proto_addr_mask(); ostinato-1.1/common/arp.cpp:440: host = (((data.target_proto_addr() ostinato-1.1/common/arp.cpp-441- & ~data.target_proto_addr_mask()) + u) ############################################## ostinato-1.1/common/arp.cpp-446- u = streamIndex % data.target_proto_addr_count(); ostinato-1.1/common/arp.cpp:447: subnet = data.target_proto_addr() ostinato-1.1/common/arp.cpp-448- & data.target_proto_addr_mask(); ostinato-1.1/common/arp.cpp:449: host = (((data.target_proto_addr() ostinato-1.1/common/arp.cpp-450- & ~data.target_proto_addr_mask()) - u) ############################################## ostinato-1.1/common/arp.cpp-454- case OstProto::Arp::kRandomHost: ostinato-1.1/common/arp.cpp:455: subnet = data.target_proto_addr() ostinato-1.1/common/arp.cpp-456- & data.target_proto_addr_mask(); ############################################## ostinato-1.1/common/arp.cpp-657- if (isOk) ostinato-1.1/common/arp.cpp:658: data.set_sender_hw_addr(hwAddr); ostinato-1.1/common/arp.cpp-659- break; ############################################## ostinato-1.1/common/arp.cpp-681- if (isOk) ostinato-1.1/common/arp.cpp:682: data.set_sender_proto_addr(protoAddr); ostinato-1.1/common/arp.cpp-683- break; ############################################## ostinato-1.1/common/arp.cpp-713- if (isOk) ostinato-1.1/common/arp.cpp:714: data.set_target_hw_addr(hwAddr); ostinato-1.1/common/arp.cpp-715- break; ############################################## ostinato-1.1/common/arp.cpp-737- if (isOk) ostinato-1.1/common/arp.cpp:738: data.set_target_proto_addr(protoAddr); ostinato-1.1/common/arp.cpp-739- break; ############################################## ostinato-1.1/common/gmp.h-39- // ------------ ostinato-1.1/common/gmp.h:40: // Fields used in all ASM and SSM messages, unless otherwise specified ostinato-1.1/common/gmp.h-41- kType = 0, ############################################## ostinato-1.1/common/gmp.h-46- ostinato-1.1/common/gmp.h:47: // Field used in ASM messages ostinato-1.1/common/gmp.h-48- kGroupAddress, ############################################## ostinato-1.1/common/gmp.proto-24- // ostinato-1.1/common/gmp.proto:25: // Common fields for both ASM and SSM messages ostinato-1.1/common/gmp.proto-26- // ############################################## ostinato-1.1/common/gmp.proto-41- // ostinato-1.1/common/gmp.proto:42: // Fields used in ASM messages ostinato-1.1/common/gmp.proto-43- // ############################################## ostinato-1.1/common/igmp.cpp-291- { ostinato-1.1/common/igmp.cpp:292: QHostAddress addr(value.toString()); ostinato-1.1/common/igmp.cpp-293- quint32 ip = addr.toIPv4Address(); ############################################## ostinato-1.1/common/ipv6addressvalidator.h-38- QValidator::State state; ostinato-1.1/common/ipv6addressvalidator.h:39: QHostAddress addr(input); ostinato-1.1/common/ipv6addressvalidator.h-40- ############################################## ostinato-1.1/common/ipv6addressvalidator.h-56- input.append("::"); ostinato-1.1/common/ipv6addressvalidator.h:57: QHostAddress addr(input); ostinato-1.1/common/ipv6addressvalidator.h-58- int len = input.size(); ############################################## ostinato-1.1/server/bsdhostdevice.cpp-201- arp->set_ip4(qFromBigEndian<quint32>(sin->sin_addr.s_addr)); ostinato-1.1/server/bsdhostdevice.cpp:202: arp->set_mac(qFromBigEndian<quint64>(LLADDR(sdl)) >> 16); ostinato-1.1/server/bsdhostdevice.cpp-203- } ############################################## ostinato-1.1/server/bsdhostdevice.cpp-240- ndp->mutable_ip6()->set_lo(qFromBigEndian<quint64>(sin->sin6_addr.s6_addr+8)); ostinato-1.1/server/bsdhostdevice.cpp:241: ndp->set_mac(qFromBigEndian<quint64>(LLADDR(sdl)) >> 16); ostinato-1.1/server/bsdhostdevice.cpp-242- } ############################################## ostinato-1.1/server/bsdhostdevice.cpp-282- ((char*)sin + SA_SIZE(sin)); ostinato-1.1/server/bsdhostdevice.cpp:283: mac = qFromBigEndian<quint64>(LLADDR(sdl)) >> 16; ostinato-1.1/server/bsdhostdevice.cpp-284- break; ############################################## ostinato-1.1/server/bsdhostdevice.cpp-328- ((char*)sin + SA_SIZE(sin)); ostinato-1.1/server/bsdhostdevice.cpp:329: mac = qFromBigEndian<quint64>(LLADDR(sdl)) >> 16; ostinato-1.1/server/bsdhostdevice.cpp-330- break; ############################################## ostinato-1.1/server/bsdport.cpp-209- mac = qFromBigEndian<quint64>( ostinato-1.1/server/bsdport.cpp:210: LLADDR((struct sockaddr_dl *)(addr->ifa_addr))) >> 16; ostinato-1.1/server/bsdport.cpp-211- break; ############################################## ostinato-1.1/server/linuxhostdevice.cpp-120- arp->set_ip4(qFromBigEndian<quint32>( ostinato-1.1/server/linuxhostdevice.cpp:121: nl_addr_get_binary_addr(rtnl_neigh_get_dst(neigh)))); ostinato-1.1/server/linuxhostdevice.cpp:122: nl_addr *lladdr = rtnl_neigh_get_lladdr(neigh); ostinato-1.1/server/linuxhostdevice.cpp-123- arp->set_mac(lladdr ? ostinato-1.1/server/linuxhostdevice.cpp-124- qFromBigEndian<quint64>( ostinato-1.1/server/linuxhostdevice.cpp:125: nl_addr_get_binary_addr(lladdr)) >> 16 : ostinato-1.1/server/linuxhostdevice.cpp-126- 0); ############################################## ostinato-1.1/server/linuxhostdevice.cpp-130- ndp->mutable_ip6()->set_hi(qFromBigEndian<quint64>( ostinato-1.1/server/linuxhostdevice.cpp:131: nl_addr_get_binary_addr( ostinato-1.1/server/linuxhostdevice.cpp-132- rtnl_neigh_get_dst(neigh)))); ostinato-1.1/server/linuxhostdevice.cpp-133- ndp->mutable_ip6()->set_lo(qFromBigEndian<quint64>((const uchar*) ostinato-1.1/server/linuxhostdevice.cpp:134: nl_addr_get_binary_addr( ostinato-1.1/server/linuxhostdevice.cpp-135- rtnl_neigh_get_dst(neigh))+8)); ostinato-1.1/server/linuxhostdevice.cpp:136: nl_addr *lladdr = rtnl_neigh_get_lladdr(neigh); ostinato-1.1/server/linuxhostdevice.cpp-137- ndp->set_mac(lladdr ? ostinato-1.1/server/linuxhostdevice.cpp-138- qFromBigEndian<quint64>( ostinato-1.1/server/linuxhostdevice.cpp:139: nl_addr_get_binary_addr(lladdr)) >> 16 : ostinato-1.1/server/linuxhostdevice.cpp-140- 0); ############################################## ostinato-1.1/server/linuxhostdevice.cpp-171- mac = qFromBigEndian<quint64>( ostinato-1.1/server/linuxhostdevice.cpp:172: nl_addr_get_binary_addr(rtnl_neigh_get_lladdr(neigh))) >> 16; ostinato-1.1/server/linuxhostdevice.cpp-173- rtnl_neigh_put(neigh); ############################################## ostinato-1.1/server/linuxhostdevice.cpp-180- && !nl_addr_cmp(rtnl_neigh_get_dst(neigh), dst)) { ostinato-1.1/server/linuxhostdevice.cpp:181: nl_addr *lladdr = rtnl_neigh_get_lladdr(neigh); ostinato-1.1/server/linuxhostdevice.cpp-182- if (lladdr) ostinato-1.1/server/linuxhostdevice.cpp-183- mac = qFromBigEndian<quint64>( ostinato-1.1/server/linuxhostdevice.cpp:184: nl_addr_get_binary_addr(lladdr)) >> 16; ostinato-1.1/server/linuxhostdevice.cpp-185- break; ############################################## ostinato-1.1/server/linuxhostdevice.cpp-218- mac = qFromBigEndian<quint64>( ostinato-1.1/server/linuxhostdevice.cpp:219: nl_addr_get_binary_addr(rtnl_neigh_get_lladdr(neigh))) >> 16; ostinato-1.1/server/linuxhostdevice.cpp-220- rtnl_neigh_put(neigh); ############################################## ostinato-1.1/server/linuxhostdevice.cpp-227- && !nl_addr_cmp(rtnl_neigh_get_dst(neigh), dst)) { ostinato-1.1/server/linuxhostdevice.cpp:228: nl_addr *lladdr = rtnl_neigh_get_lladdr(neigh); ostinato-1.1/server/linuxhostdevice.cpp-229- if (lladdr) ostinato-1.1/server/linuxhostdevice.cpp-230- mac = qFromBigEndian<quint64>( ostinato-1.1/server/linuxhostdevice.cpp:231: nl_addr_get_binary_addr(lladdr)) >> 16; ostinato-1.1/server/linuxhostdevice.cpp-232- break; ############################################## ostinato-1.1/server/linuxport.cpp-218- ostinato-1.1/server/linuxport.cpp:219: nl_addr *addr = rtnl_link_get_addr(link); ostinato-1.1/server/linuxport.cpp-220- if (!addr) { ############################################## ostinato-1.1/server/linuxport.cpp-238- ostinato-1.1/server/linuxport.cpp:239: quint64 mac = qFromBigEndian<quint64>(nl_addr_get_binary_addr(addr)) >> 16; ostinato-1.1/server/linuxport.cpp-240- if (!mac) { ############################################## ostinato-1.1/server/linuxport.cpp-275- gw4 = qFromBigEndian<quint32>( ostinato-1.1/server/linuxport.cpp:276: nl_addr_get_binary_addr(rtnl_route_nh_get_gateway(nh))); ostinato-1.1/server/linuxport.cpp-277- } ############################################## ostinato-1.1/server/linuxport.cpp-279- gw6 = UInt128((quint8*) ostinato-1.1/server/linuxport.cpp:280: nl_addr_get_binary_addr(rtnl_route_nh_get_gateway(nh))); ostinato-1.1/server/linuxport.cpp-281- } ############################################## ostinato-1.1/server/linuxport.cpp-296- ip.address = qFromBigEndian<quint32>( ostinato-1.1/server/linuxport.cpp:297: nl_addr_get_binary_addr( ostinato-1.1/server/linuxport.cpp-298- rtnl_addr_get_local(l3addr))); ############################################## ostinato-1.1/server/linuxport.cpp-304- Ip6Config ip; ostinato-1.1/server/linuxport.cpp:305: ip.address = UInt128((quint8*)nl_addr_get_binary_addr( ostinato-1.1/server/linuxport.cpp-306- rtnl_addr_get_local(l3addr)));