=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== ############################################## sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-68-public: sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh:69: struct sockaddr &addr() { return addr_.sa; } sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh:70: const struct sockaddr &addr() const { return addr_.sa; } sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-71- size_t maxLen() const { return sizeof addr_; } sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-72- size_t actualLen() const { sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh:73: if (addr().sa_family == AF_UNSPEC) return 0; sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh:74: else if (addr().sa_family == AF_INET) return sizeof(struct sockaddr_in); sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh:75: else if (addr().sa_family == AF_INET6) return sizeof(struct sockaddr_in6); sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-76- else return sizeof addr_; ############################################## sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-78- sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh:79: SockAddr() { memset(&addr_, 0, sizeof addr_); } sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh:80: bool empty() const { return addr().sa_family == AF_UNSPEC; /* this is the 0 value */ } sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-81- /** retrieve the current port number, -1 in case of error */ ############################################## sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-89- std::string s; sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh:90: if (addr().sa_family) { sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-91- char hostname[512], servname[512]; ############################################## sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-102- os << "["; sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh:103: switch (ip.addr().sa_family) { sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-104- case AF_UNSPEC: os << "AF_UNSPEC"; break; ############################################## sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-106- case AF_INET6: os << "IPv6"; break; sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh:107: default: os << "unknown family '" << ip.addr().sa_family << "'"; break; sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-108- } ############################################## sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-245- int nread = (int)recvfrom(handle, &buffer[0], (int)buffer.size(), 0, sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh:246: &remote_addr.addr(), &len); sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-247- if (nread < 0) { ############################################## sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-295- if (isBound()) { sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh:296: res = sendto(handle, (const char*)ptr, (int)sz, 0, &addr.addr(), (int)addr.actualLen()); sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-297- } else { ############################################## sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-360- socklen_t len = (socklen_t)local_addr.maxLen(); sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh:361: if (getsockname(handle, &local_addr.addr(), &len) == 0) { sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-362- /* great */ ############################################## sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-370- assert((size_t)rp->ai_addrlen <= sizeof remote_addr); sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh:371: memcpy(&remote_addr.addr(), rp->ai_addr, rp->ai_addrlen); sonic-pi-3.2.2~repack/app/gui/qt/osc/udp.hh-372- break; ############################################## sonic-pi-3.2.2~repack/app/gui/qt/unix-config.sh-11- *) sonic-pi-3.2.2~repack/app/gui/qt/unix-config.sh:12: echo "`basename $0`: Error: invalid configuration: '${2}'" 1>&2 sonic-pi-3.2.2~repack/app/gui/qt/unix-config.sh-13- echo "Valid configurations: Release, Debug, RelWithDebInfo, MinSizeRel" 1>&2 ############################################## sonic-pi-3.2.2~repack/app/gui/qt/unix-config.sh-17-elif [ ! -z $1 ]; then sonic-pi-3.2.2~repack/app/gui/qt/unix-config.sh:18: echo "`basename $0`: Error: invalid parameter: '${1}'" 1>&2 sonic-pi-3.2.2~repack/app/gui/qt/unix-config.sh:19: echo "Usage: `basename $0` [--config <Release|Debug|RelWithDebInfo|MinSizeRel>]" 1>&2 sonic-pi-3.2.2~repack/app/gui/qt/unix-config.sh-20- exit 1 ############################################## sonic-pi-3.2.2~repack/app/server/ruby/lib/sonicpi/lang/core.rb-3697- # A density of 0.5 will double the length of the block's sonic-pi-3.2.2~repack/app/server/ruby/lib/sonicpi/lang/core.rb:3698: # execution time. sonic-pi-3.2.2~repack/app/server/ruby/lib/sonicpi/lang/core.rb-3699- play 80, release: 1 # plays note 80 with 2s release ############################################## sonic-pi-3.2.2~repack/app/server/ruby/lib/sonicpi/synths/synthinfo.rb-60- # This will be called immediately after the synth has completed. sonic-pi-3.2.2~repack/app/server/ruby/lib/sonicpi/synths/synthinfo.rb:61: # Execution will happen in its own independent thread. sonic-pi-3.2.2~repack/app/server/ruby/lib/sonicpi/synths/synthinfo.rb-62- end ############################################## sonic-pi-3.2.2~repack/app/server/ruby/lib/sonicpi/util.rb-26- @@raspberry_pi_1 = RUBY_PLATFORM.match(/.*arm.*-linux.*/) && File.exist?('/proc/cpuinfo') && !(`cat /proc/cpuinfo | grep BCM2708`).empty? sonic-pi-3.2.2~repack/app/server/ruby/lib/sonicpi/util.rb:27: @@raspberry_pi_2 = RUBY_PLATFORM.match(/.*arm.*-linux.*/) && ['a01040','a01041','a22042'].include?(`awk '/^Revision/ { print $3}' /proc/cpuinfo`.delete!("\n")) sonic-pi-3.2.2~repack/app/server/ruby/lib/sonicpi/util.rb:28: @@raspberry_pi_3 = RUBY_PLATFORM.match(/.*arm.*-linux.*/) && ['a02082','a22082','a32082'].include?(`awk '/^Revision/ { print $3}' /proc/cpuinfo`.delete!("\n")) sonic-pi-3.2.2~repack/app/server/ruby/lib/sonicpi/util.rb:29: @@raspberry_pi_3bplus = RUBY_PLATFORM.match(/.*arm.*-linux.*/) && ['a020d3'].include?(`awk '/^Revision/ { print $3}' /proc/cpuinfo`.delete!("\n")) sonic-pi-3.2.2~repack/app/server/ruby/lib/sonicpi/util.rb:30: @@raspberry_pi_4_1gb = RUBY_PLATFORM.match(/.*arm.*-linux.*/) && ['a03111'].include?(`awk '/^Revision/ { print $3}' /proc/cpuinfo`.delete!("\n")) sonic-pi-3.2.2~repack/app/server/ruby/lib/sonicpi/util.rb:31: @@raspberry_pi_4_2gb = RUBY_PLATFORM.match(/.*arm.*-linux.*/) && ['b03111'].include?(`awk '/^Revision/ { print $3}' /proc/cpuinfo`.delete!("\n")) sonic-pi-3.2.2~repack/app/server/ruby/lib/sonicpi/util.rb:32: @@raspberry_pi_4_4gb = RUBY_PLATFORM.match(/.*arm.*-linux.*/) && ['c03111'].include?(`awk '/^Revision/ { print $3}' /proc/cpuinfo`.delete!("\n")) sonic-pi-3.2.2~repack/app/server/ruby/lib/sonicpi/util.rb-33- @@home_dir = File.expand_path((ENV['SONIC_PI_HOME'] || Dir.home) + '/.sonic-pi/') ############################################## sonic-pi-3.2.2~repack/.pc/06-paths.patch/app/server/ruby/lib/sonicpi/util.rb-26- @@raspberry_pi_1 = RUBY_PLATFORM.match(/.*arm.*-linux.*/) && File.exist?('/proc/cpuinfo') && !(`cat /proc/cpuinfo | grep BCM2708`).empty? sonic-pi-3.2.2~repack/.pc/06-paths.patch/app/server/ruby/lib/sonicpi/util.rb:27: @@raspberry_pi_2 = RUBY_PLATFORM.match(/.*arm.*-linux.*/) && ['a01040','a01041','a22042'].include?(`awk '/^Revision/ { print $3}' /proc/cpuinfo`.delete!("\n")) sonic-pi-3.2.2~repack/.pc/06-paths.patch/app/server/ruby/lib/sonicpi/util.rb:28: @@raspberry_pi_3 = RUBY_PLATFORM.match(/.*arm.*-linux.*/) && ['a02082','a22082','a32082'].include?(`awk '/^Revision/ { print $3}' /proc/cpuinfo`.delete!("\n")) sonic-pi-3.2.2~repack/.pc/06-paths.patch/app/server/ruby/lib/sonicpi/util.rb:29: @@raspberry_pi_3bplus = RUBY_PLATFORM.match(/.*arm.*-linux.*/) && ['a020d3'].include?(`awk '/^Revision/ { print $3}' /proc/cpuinfo`.delete!("\n")) sonic-pi-3.2.2~repack/.pc/06-paths.patch/app/server/ruby/lib/sonicpi/util.rb:30: @@raspberry_pi_4_1gb = RUBY_PLATFORM.match(/.*arm.*-linux.*/) && ['a03111'].include?(`awk '/^Revision/ { print $3}' /proc/cpuinfo`.delete!("\n")) sonic-pi-3.2.2~repack/.pc/06-paths.patch/app/server/ruby/lib/sonicpi/util.rb:31: @@raspberry_pi_4_2gb = RUBY_PLATFORM.match(/.*arm.*-linux.*/) && ['b03111'].include?(`awk '/^Revision/ { print $3}' /proc/cpuinfo`.delete!("\n")) sonic-pi-3.2.2~repack/.pc/06-paths.patch/app/server/ruby/lib/sonicpi/util.rb:32: @@raspberry_pi_4_4gb = RUBY_PLATFORM.match(/.*arm.*-linux.*/) && ['c03111'].include?(`awk '/^Revision/ { print $3}' /proc/cpuinfo`.delete!("\n")) sonic-pi-3.2.2~repack/.pc/06-paths.patch/app/server/ruby/lib/sonicpi/util.rb-33- @@home_dir = File.expand_path((ENV['SONIC_PI_HOME'] || Dir.home) + '/.sonic-pi/')