SYSTEM ERROR : AFLNet - the states hashtable should always contain an entry of the initial state

在尝试使用AFLNET对LightFTP进行模糊测试时遇到SYSTEMERROR,提示初始状态哈希表缺失。解决方案是通过添加-mnone参数到命令行指令中,如示例所示,这有助于解决线程创建失败的问题,错误代码11表示资源暂时不可用。

问题描述

在使用AFLNET跑LightFTP的时候,报如下错误

SYSTEM ERROR : AFLNet - the states hashtable should always contain an entry of the initial state Stop location : update_state_aware_variables(), afl-fuzz.c:900 OS message : No such proces

解决方案

命令行指令加上-m none!
举个栗子如下
afl-fuzz -d -i $AFLNET/tutorials/lightftp/in-ftp -o out-lightftp -m none -N tcp://127.0.0.1/2200 -x $AFLNET/tutorials/lightftp/ftp.dict -P FTP -D 10000 -q 3 -s 3 -E -R -c ./ftpclean.sh ./fftp fftp.conf 2200

参考链接

AFLNET lightftp项目报错解决方法
pthread_create创建线程失败,返回11: Resource temporarily unavailable

-- Error occurred in anonymous codeblock; filename: ; position: 9141; line: 288 -- MAXScript Rollout Handler Exception: -- Runtime error: .NET event handler must be a functions, got: undefined -- MAXScript callstack: -- thread data: threadID:12252 -- ------------------------------------------------------ -- [stack level: 0] -- In f loop; filename: ; position: 9142; line: 288 -- Parameters: -- f: "C:\Users\happyelements\Desktop\135553lgll2pnvse7rst22.gif" -- Locals: -- panel: dotNetObject:System.Windows.Forms.Panel -- onDoubleClickHandler: undefined -- staticImg: dotNetObject:System.Drawing.Bitmap -- f: "C:\Users\happyelements\Desktop\135553lgll2pnvse7rst22.gif" -- pb: dotNetObject:System.Windows.Forms.PictureBox -- Externals: -- Flow: RolloutControl:Flow in rollout:combinedGIFViewer : dotNetControl:Flow:System.Windows.Forms.FlowLayoutPanel -- panelHoverStates: Global:panelHoverStates : dotNetObject:System.Collections.Hashtable -- staticImagesDict: Global:staticImagesDict : dotNetObject:System.Collections.Hashtable -- darkGrayCustom: Global:darkGrayCustom : dotNetObject:System.Drawing.Color -- onMouseEnterHandler: Global:onMouseEnterHandler : onMouseEnterHandler() -- getFirstFrameBitmap: Global:getFirstFrameBitmap : getFirstFrameBitmap() -- owner: undefined -- panelPaintHandler: Global:panelPaintHandler : panelPaintHandler() -- onMouseLeaveHandler: Global:onMouseLeaveHandler : onMouseLeaveHandler() -- ------------------------------------------------------ -- [stack level: 1] -- called from loadGIFsFromFolder(); filename: ; position: 9249; line: 292 -- member of: Rollout:combinedGIFViewer -- Parameters: -- folderpath: "C:\Users\happyelements\Desktop" -- Locals: -- files: #("C:\Users\happyelements\Desktop\135553lgll2pnvse7rst22.gif", "C:\Users\happyelements\Desktop\GIF 2023-11-6 11-58-55.gif", "C:\Users\happyelements\Desktop\GIF 2024-9-9 16-21-37.gif", "C:\Users\happyelements\Desktop\GIF 2025-2-19 17-21-43.gif", "C:\Users\happyelements\Desktop\GIF 2025-4-27 15-47-31.gif", "C:\Users\happyelements\Desktop\GIF 2025-7-18 11-50-16.gif", "C:\Users\happyelements\Desktop\GIF 2025-7-18 12-03-35.gif", "C:\Users\happyelements\Desktop\GIF 2025-7-18 12-07-55.gif", "C:\Users\happyelements\Desktop\GIF 2025-8-1 18-18-33 - 副本 (20).gif", "C:\Users\happyelements\Desktop\GIF 2025-8-25 15-37-29.gif", "C:\Users\happyelements\Desktop\HZmwNMb.gif", "C:\Users\happyelements\Desktop\output (1).gif", "C:\Users\happyelements\Desktop\output.gif") -- folderpath: "C:\Users\happyelements\Desktop" -- Externals: -- resetTimersDict: Global:resetTimersDict : dotNetObject:System.Collections.Hashtable -- Flow: RolloutControl:Flow in rollout:combinedGIFViewer : dotNetControl:Flow:System.Windows.Forms.FlowLayoutPanel -- lblFolderPath: RolloutControl:lblFolderPath in rollout:combinedGIFViewer : LabelControl:lblFolderPath -- staticImagesDict: Global:staticImagesDict : dotNetObject:System.Collections.Hashtable -- panelHoverStates: Global:panelHoverStates : dotNetObject:System.Collections.Hashtable -- combinedGIFViewer: Rollout:combinedGIFViewer -- owner: Rollout:combinedGIFViewer -- ------------------------------------------------------ -- [stack level: 2] -- called from btnSelect.pressed(); filename: ; position: 11766; line: 363 -- member of: Rollout:combinedGIFViewer -- Locals: -- folder: "C:\Users\happyelements\Desktop" -- Externals: -- loadGIFsFromFolder: loadGIFsFromFolder() -- combinedGIFViewer: Rollout:combinedGIFViewer -- owner: Rollout:combinedGIFViewer -- ------------------------------------------------------ -- [stack level: 3] -- called from top-level
08-27
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

寂寞烟火~

你的鼓励是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值