RossComputerGuy/stardustos

View on GitHub

Showing 35 of 73 total issues

High complexity in rootfs_get_child: [40/30]
Open

static int rootfs_get_child(fs_node_t* node, fs_node_t** childptr, size_t index) {
Severity: Minor
Found in tools/nvk/src/fs/rootfs.c by gnu-complexity

TODO found
Open

    // TODO: implement this
Severity: Minor
Found in libraries/libc/src/stdlib/free.c by fixme

TODO found
Open

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

TODO found
Open

    // TODO: open 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/liblist/CMakeLists.txt by fixme

TODO found
Open

    // TODO: system call

TODO found
Open

# TODO: make sure we add the toolchain if its not in the system
Severity: Minor
Found in libraries/libfile/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_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)

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: make sure we add the toolchain if its not in the system
Severity: Minor
Found in libraries/libc/CMakeLists.txt by fixme

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)

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 liblist_destroy is never used.
Open

void liblist_destroy(list_t* list) {
Severity: Minor
Found in libraries/liblist/src/list.c by cppcheck

The function liblist_destroy 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: add /self symlink
Severity: Minor
Found in newland/src/fs/procfs.c by fixme

TODO found
Open

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

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)

The function nl_getuid is never used.
Open

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

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

Severity
Category
Status
Source
Language