Showing 35 of 73 total issues
High complexity in rootfs_get_child
: [40/30] Open
Open
static int rootfs_get_child(fs_node_t* node, fs_node_t** childptr, size_t index) {
- Exclude checks
TODO found Open
Open
# TODO: make sure we add the toolchain if its not in the system
- Exclude checks
TODO found Open
Open
// TODO: maybe the bus should have a function call for handling the registration
- Exclude checks
TODO found Open
Open
// TODO: maybe the bus should have a function call for handling the unregistring
- Exclude checks
TODO found Open
Open
// TODO: implement this
- Exclude checks
The function liballoc_alloc
is never used. Open
Open
void* liballoc_alloc(int pages) {
- Read upRead up
- Exclude checks
The function liballoc_alloc
is never used. (detailed CWE explanation)
The function nl_close
is never used. Open
Open
int nl_close(int fd) {
- Read upRead up
- Exclude checks
The function nl_close
is never used. (detailed CWE explanation)
The function nl_open
is never used. Open
Open
int nl_open(const char* path, int mode) {
- Read upRead up
- Exclude checks
The function nl_open
is never used. (detailed CWE explanation)
TODO found Open
Open
// TODO: implement this
- Exclude checks
Checking if unsigned variable r
is less than zero. Open
Open
if (r < 0) return r;
- Read upRead up
- Exclude checks
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
Open
# TODO: make sure we add the toolchain if its not in the system
- Exclude checks
TODO found Open
Open
# TODO: make sure we add the toolchain if its not in the system
- Exclude checks
The function nl_getuid
is never used. Open
Open
uid_t nl_getuid() {
- Read upRead up
- Exclude checks
The function nl_getuid
is never used. (detailed CWE explanation)
TODO found Open
Open
// TODO: free nodes
- Exclude checks
TODO found Open
Open
# TODO: make sure we add the toolchain if its not in the system
- Exclude checks
The function nl_write
is never used. Open
Open
size_t nl_write(int fd, const void* buff, size_t count) {
- Read upRead up
- Exclude checks
The function nl_write
is never used. (detailed CWE explanation)
TODO found Open
Open
// TODO: add /self symlink
- Exclude checks
The function liblist_destroy
is never used. Open
Open
void liblist_destroy(list_t* list) {
- Read upRead up
- Exclude checks
The function liblist_destroy
is never used. (detailed CWE explanation)
TODO found Open
Open
// TODO: system call
- Exclude checks
TODO found Open
Open
// TODO: open stdin, stdout, and stderr
- Exclude checks