RossComputerGuy/stardustos

View on GitHub

Showing 35 of 73 total issues

The function liballoc_lock is never used.
Open

int liballoc_lock() {
Severity: Minor
Found in newland/arch/x86/src/alloc.c by cppcheck

The function liballoc_lock is never used. (detailed CWE explanation)

TODO found
Open

# TODO: make sure we add the toolchain if its not in the system
Severity: Minor
Found in sdlinux/CMakeLists.txt by fixme

The function nl_getgid is never used.
Open

gid_t nl_getgid() {
Severity: Minor
Found in newland/src/system.c by cppcheck

The function nl_getgid is never used. (detailed CWE explanation)

The function nl_getpid is never used.
Open

pid_t nl_getpid() {
Severity: Minor
Found in newland/src/system.c by cppcheck

The function nl_getpid is never used. (detailed CWE explanation)

TODO found
Open

    // TODO: close stdin, stdout, and stderr
Severity: Minor
Found in libraries/libc/src/lib.c by fixme

TODO found
Open

# TODO: make sure we add the toolchain if its not in the system
Severity: Minor
Found in libraries/libc/CMakeLists.txt by fixme

Checking if unsigned variable r is less than zero.
Open

    if (r < 0) return r;
Severity: Minor
Found in newland/src/system.c by cppcheck

The unsigned variable r will never be negative so it is either pointless or an error to check if it is. (detailed CWE explanation)

The function liballoc_unlock is never used.
Open

int liballoc_unlock() {
Severity: Minor
Found in newland/arch/x86/src/alloc.c by cppcheck

The function liballoc_unlock is never used. (detailed CWE explanation)

The function nl_getbuildprop is never used.
Open

int nl_getbuildprop(int prop, void* output, int* size) {
Severity: Minor
Found in newland/src/system.c by cppcheck

The function nl_getbuildprop is never used. (detailed CWE explanation)

TODO found
Open

    // TODO: system call

The function liballoc_free is never used.
Open

int liballoc_free(void* ptr, int pages) {
Severity: Minor
Found in newland/arch/x86/src/alloc.c by cppcheck

The function liballoc_free is never used. (detailed CWE explanation)

The function nl_read is never used.
Open

size_t nl_read(int fd, void* buff, size_t count) {
Severity: Minor
Found in newland/src/system.c by cppcheck

The function nl_read is never used. (detailed CWE explanation)

TODO found
Open

# TODO: make sure we add the toolchain if its not in the system
Severity: Minor
Found in programs/hello/CMakeLists.txt by fixme

TODO found
Open

    /* TODO: permission checking */
Severity: Minor
Found in newland/src/system.c by fixme

TODO found
Open

    /* TODO: permission checking */
Severity: Minor
Found in newland/src/system.c by fixme
Severity
Category
Status
Source
Language