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: implement this
- Exclude checks
TODO found Open
Open
// TODO: close stdin, stdout, and stderr
- Exclude checks
TODO found Open
Open
// TODO: open stdin, stdout, and stderr
- 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: system call
- Exclude checks
TODO found Open
Open
# TODO: make sure we add the toolchain if its not in the system
- 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)
The function liballoc_free
is never used. Open
Open
int liballoc_free(void* ptr, int pages) {
- Read upRead up
- Exclude checks
The function liballoc_free
is never used. (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: permission checking */
- Exclude checks
TODO found Open
Open
# TODO: make sure we add the toolchain if its not in the system
- Exclude checks
The function nl_getbuildprop
is never used. Open
Open
int nl_getbuildprop(int prop, void* output, int* size) {
- Read upRead up
- Exclude checks
The function nl_getbuildprop
is never used. (detailed CWE explanation)
The function liballoc_unlock
is never used. Open
Open
int liballoc_unlock() {
- Read upRead up
- Exclude checks
The function liballoc_unlock
is never used. (detailed CWE explanation)
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)
The function nl_getpid
is never used. Open
Open
pid_t nl_getpid() {
- Read upRead up
- Exclude checks
The function nl_getpid
is never used. (detailed CWE explanation)
TODO found Open
Open
// TODO: add /self symlink
- Exclude checks
TODO found Open
Open
# TODO: make sure we add the toolchain if its not in the system
- Exclude checks
The function liballoc_lock
is never used. Open
Open
int liballoc_lock() {
- Read upRead up
- Exclude checks
The function liballoc_lock
is never used. (detailed CWE explanation)
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)