summaryrefslogtreecommitdiff
path: root/components/finsh/msh.c
AgeCommit message (Collapse)Author
2026-07-08components: finsh: check token bounds before accessOld-Ding
Move the command length checks before reading command buffers while parsing module, script, and LWP command names. This keeps commands without separators from reading one byte past the provided length. Generated-by: OpenAI Codex Signed-off-by: Old-Ding <[email protected]>
2026-03-19fix[components][finsh]: Fix for implicit declaration of function 'strtoul' ↵shuta.lst
in multi-core build;
2026-02-13chore: fix typo in components and libcputheqengineer
2025-11-22finsh: replace str/mem functions with rt-prefixed versionsliuyucai
Replace standard string and memory functions with RT-Thread's rt-prefixed equivalents where available: - strcpy -> rt_strcpy - strncpy -> rt_strncpy - strcmp -> rt_strcmp - strncmp -> rt_strncmp - strlen -> rt_strlen - strstr -> rt_strstr - memcpy -> rt_memcpy - memcmp -> rt_memcmp Functions like strcat, strchr remain unchanged as RT-Thread does not provide rt-prefixed versions.
2025-09-04fix: ↵wdfk-prog
在没有定义FINSH_USING_SYMTAB时编译报错以及IPC及finsh启用时自动选择必要的功能
2024-09-24[components] change variable nameCYFS
为什么提交这份PR (why to submit this PR) #9397 你的解决方案是什么 (what is your solution) 将 line 758的dir改为link_dir
2024-06-24[components][msh]msh命令失败添加打印日志wdfk-prog
2024-06-23[finsh] add msh command to bind thread to specific core (#9085)Shell
[finsh] add msh command bind Signed-off-by: Shell <[email protected]>
2024-02-03fix MDK AC5 build warningsyangpeng
2024-01-02fix some -Wmissing-prototypes warningsMeco Man
2024-01-02[kernel] Add hook for malloc servicesShell
Including the patch for memory allocation, testsuites and fixups of static analysis. Signed-off-by: Shell <[email protected]>
2023-10-27[msh]Optimize list_thread display (#7977)guo
2023-09-27【msh】新增msh自动补全子选项特性 (#8086)wangqinglin
2023-08-16fix msh exec permission denied (#7943)geniusgogo
2023-06-13[msh] fix offset used before range checkMingjie Shen
These uses of offset 'cmd0_size' should follow the range check.
2023-06-10[dfs] Add DFS v2.0 (#7606)Bernard Xiong
2022-12-16[rt-smart] 弱化 RT_USING_LWP,使用 RT_USING_SMART 作为宏配置 (#6740)guo
* [dfs] sync cromfs * [rt-smart]Weaken RT_USING_LWP, use RT_USING_SMART as macro configuration * [format] fix some format issue.
2022-12-13ESP32_C3: Improve Readme, fix compile errors/warningstangzz98
2022-12-12[components] fix format issuebernard
2022-12-06fix system muti-define when enable RT_USING_MODULEguozhanxin
2022-12-03sync branch rt-smart. (#6641)guo
* Synchronize the code of the rt mart branch to the master branch. * TTY device * Add lwP code from rt-smart * Add vnode in DFS, but DFS will be re-write for rt-smart * There are three libcpu for rt-smart: * arm/cortex-a, arm/aarch64 * riscv64 Co-authored-by: Rbb666 <[email protected]> Co-authored-by: zhkag <[email protected]>
2022-07-07[msh] add available memory information for free cmdMeco Man
2022-06-16[msh]Restore the free command.|还原 free命令。 (#6084)guo
2022-03-29[finsh] Fixed RT-Thread spellingguozhanxin
2022-01-14updateMeco Man
2022-01-14[update] move dfs_posix.h to legacy/dfs/dfs_posix.hliukangcc
2022-01-09[core] 使用rt_memcpy rt_memset代替memcpy memsetMeco Man
2022-01-08[memheap] Fix 64 bit potential risktangyuxin
2021-12-16分离内存分配接口与内存分配算法 (#5175)Tangyuxin
* [kernel][mem] Multiple instances of small memory allocation algorithm * [kernel][mem] Change small memory management algorithm memory header flag * [kernel][mem] Fix assertion problem * [kernel][slab] Multiple instances of slab memory management algorithm * [kernel][memheap] Remove rt_malloc/rt_free/rt_realloc and other related memory interfaces * [kernel][mem] Clean up memory space of small memory management objects * [kernel][kservice] Add memory application interface and thread protection interface * [kernel][kservice] Fix function return value problem * [kernel][memheap] Optimize memheaptrace print * [kernel][memheap] Support best mode * [kernel][memory] Remove semaphore lock * [kernel][memheap] Add locked flag * [kernel][memory] Support malloc memory in interrupt * [kernel][memheap] Add 'memheapcheck' cmd * [kernel][mem] Fix failure to request full memory * [kernel][memheap] Fix compilation warning * [kernel][mem] Fix mem realloc ASSERT * [examples][testcases] Add small mem testcase * [examples][mem_tc] Modify test memory size * [examples][testcases] Add slab memory management algorithm test case * [examples][testcases] fix small memory management algorithm test case * [kernel][memory] Adjusting memory allocation algorithm object definition and interface * [kernel][memory] Fix compilation warning * [examples][utest] Fix mem test case * [examples][utest] fix slab test case * [utest][testcases] Shorten test time * [kernel][memory] Formatting code * [examples][utest] Adjust test run time * [examples][utest] Formatting code * [bsp] update all rtconfig.h
2021-11-16[dfs] move dfs backMeco Man
2021-10-21[posix][dfs] move dfs_posix dfs_poll dfs_select.c to posix folderMeco Man
2021-09-27[libc] 优化system 支持gccMeco Man
2021-08-28FINSH_USING_BUILT_IN_COMMANDS改MSH_USING_BUILT_IN_COMMANDSMeco Man
2021-08-25[finsh] finsh组件可以选择是否包含内置命令Meco Man
2021-08-25Repair that the tab key on msh do not work.马志远
2021-08-23Disable FINSH_FUNCTION_EXPORT马志远
2021-08-23Remove C Style Command Shell马志远
2021-05-22fix shell msh_exec memory over-bound.geniusgogo
2021-03-08[compoenets] auto & manual formattedMeco Man
2019-09-25[components][finsh] Decouple RT_USING_DEVICE dependency for msh featurechenyong
Signed-off-by: chenyong <[email protected]>
2018-11-07[finsh/shell] compatible definition for cube package[email protected]
2018-10-14[license] Change license to Apache.Bernard Xiong
2018-09-01[dlmodule] Add cache ops in dlmodule.Bernard Xiong
2018-08-30[Kernel] move module tolibc/libdl.Bernard Xiong
2018-07-26[finsh] Remove chdir feature in mshBernard Xiong
2018-07-02[msh]执行小程序heyuanjie
2018-06-10Merge branch 'master' of https://github.com/RT-Thread/rt-threadBernard Xiong
2018-06-10[Kernel] Remove object container in module feature.Bernard Xiong
2018-06-07[components][finsh]msh最大参数个数可配置tangyuxin
2018-04-09[components] fixed signed/unsigned mismatch warningliang yongxiang