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

TODO found
Open

    // TODO: maybe the bus should have a function call for handling the registration
Severity: Minor
Found in newland/src/bus.c by fixme

TODO found
Open

    // TODO: maybe the bus should have a function call for handling the unregistring
Severity: Minor
Found in newland/src/bus.c by fixme

TODO found
Open

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

The function liballoc_alloc is never used.
Open

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

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

The function nl_close is never used.
Open

int nl_close(int fd) {
Severity: Minor
Found in newland/src/system.c by cppcheck

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

The function nl_open is never used.
Open

int nl_open(const char* path, int mode) {
Severity: Minor
Found in newland/src/system.c by cppcheck

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

TODO found
Open

    // TODO: implement this
Severity: Minor
Found in libraries/libc/src/stdlib/malloc.c 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)

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

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

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)

TODO found
Open

    // TODO: free nodes
Severity: Minor
Found in newland/src/fs/initrd.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

The function nl_write is never used.
Open

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

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

TODO found
Open

        // TODO: add /self symlink
Severity: Minor
Found in newland/src/fs/procfs.c by fixme

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)

TODO found
Open

    // TODO: system call

TODO found
Open

    // TODO: open stdin, stdout, and stderr
Severity: Minor
Found in libraries/libc/src/lib.c by fixme
Severity
Category
Status
Source
Language