-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Action needed from Sina #76
Comments
先来研究这个 |
are you online? See #59 again please. |
Hi, |
Hello you, please try build gui and handle #60 now. |
I will build it now. |
Could you please send me a link to which version of GCC you use? How do you install it on Windows? |
I've got this error compiling it:
|
|
wait me check agin |
try again |
这个看似是gcc不正确,尝试 gcc -v .返回什么
…---Original---
From: "Sina ***@***.***>
Date: Sat, Jun 15, 2024 23:00 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [HyperDbg/gui] Action needed from Sina (Issue #76)
image.png (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.Message ID: ***@***.***>
|
新开一个cmd窗口试试,我感觉是gcc环境变量不生效
…---Original---
From: "Sina ***@***.***>
Date: Sat, Jun 15, 2024 23:00 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [HyperDbg/gui] Action needed from Sina (Issue #76)
image.png (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.Message ID: ***@***.***>
|
构建成功了吗? |
Another error:
|
Did you put cli files in a static address? |
Oh my LadyGaga,等我修改下单元测试,呵呵🙂🙂🙂🙂
…---Original---
From: "Sina ***@***.***>
Date: Sat, Jun 15, 2024 23:10 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [HyperDbg/gui] Action needed from Sina (Issue #76)
Another error:
C:\Users\Sina\Desktop\gui>go build . ^C C:\Users\Sina\Desktop\gui>gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=C:/TDM-GCC-64/bin/../libexec/gcc/x86_64-w64-mingw32/10.3.0/lto-wrapper.exe Target: x86_64-w64-mingw32 Configured with: ../../../src/gcc-git-10.3.0/configure --build=x86_64-w64-mingw32 --enable-targets=all --enable-languages=ada,c,c++,fortran,jit,lto,objc,obj-c++ --enable-libgomp --enable-lto --enable-graphite --enable-cxx-flags=-DWINPTHREAD_STATIC --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-libstdcxx-debug --enable-threads=posix --enable-version-specific-runtime-libs --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts=yes --disable-libstdcxx-pch --enable-libstdcxx-threads --enable-libstdcxx-time=yes --enable-mingw-wildcard --with-gnu-ld --disable-werror --enable-nls --disable-win32-registry --enable-large-address-aware --disable-rpath --disable-symvers --prefix=/mingw64tdm --with-local-prefix=/mingw64tdm --with-pkgversion=tdm64-1 --with-bugurl=https://github.com/jmeubank/tdm-gcc/issues Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 10.3.0 (tdm64-1) C:\Users\Sina\Desktop\gui>go build . C:\Users\Sina\Desktop\gui>go run . 2024-06-15 08:09:08 Trace -> --------- title --------- │ ------------------ info ------------------ //runtime.doInit1+0xec C:/Program Files/Go/src/runtime/proc.go:7176 ERR | 2024-06-15 | 08:09:09.042 | recovered from panic [github.com/ddkwork/golibrary/mylog.check[...]] ***@***.***/mylog/check.go:216 [github.com/ddkwork/golibrary/mylog.Check2[...]] ***@***.***/mylog/check.go:27 [github.com/ddkwork/app/ms/xed.ParserPe] ***@***.***/ms/xed/pe.go:10 [github.com/ddkwork/hyperdbgui/ux.LayoutDisassemblyTable.func3] C:/Users/Sina/Desktop/gui/ux/cpu.go:235 [github.com/ddkwork/app/widget.NewTable[...]] ***@***.***/widget/table.go:422 [github.com/ddkwork/hyperdbgui/ux.LayoutDisassemblyTable] C:/Users/Sina/Desktop/gui/ux/cpu.go:214 [github.com/ddkwork/hyperdbgui/ux.LayoutCpu] C:/Users/Sina/Desktop/gui/ux/cpu.go:25 [github.com/ddkwork/hyperdbgui/ux.NewPage] C:/Users/Sina/Desktop/gui/ux/HyperDbg.go:118 [main.main.Run.func1] C:/Users/Sina/Desktop/gui/ux/HyperDbg.go:31 [github.com/ddkwork/app.RunWithIco.func1.1] ***@***.***/app.go:49 [github.com/richardwilkes/toolbox.CallWithHandler] ***@***.***/call.go:24 [github.com/richardwilkes/toolbox.Call] ***@***.***/call.go:18 [github.com/richardwilkes/unison.finishStartup] ***@***.***/app.go:183 [github.com/richardwilkes/toolbox.CallWithHandler] ***@***.***/call.go:24 [github.com/richardwilkes/unison.processNextTask] ***@***.***/task.go:51 [github.com/richardwilkes/unison.processEvents] ***@***.***/app.go:164 [github.com/richardwilkes/unison.Start] ***@***.***/app.go:158 [github.com/ddkwork/app.RunWithIco.func1] ***@***.***/app.go:43 [github.com/ddkwork/golibrary/mylog.callWithHandler] ***@***.***/mylog/call.go:15 [github.com/ddkwork/golibrary/mylog.Call] ***@***.***/mylog/call.go:10 [github.com/ddkwork/app.RunWithIco] ***@***.***/app.go:42 [github.com/ddkwork/hyperdbgui/ux.Run] C:/Users/Sina/Desktop/gui/ux/HyperDbg.go:30 [main.main] C:/Users/Sina/Desktop/gui/main.go:9 Caused by: open D:\workspace\workspace\branch\gui\bin\debug\hyperdbg-cli.exe: The system cannot find the path specified. [github.com/ddkwork/golibrary/mylog.check[...]] ***@***.***/mylog/check.go:216 [github.com/ddkwork/golibrary/mylog.Check2[...]] ***@***.***/mylog/check.go:27 [github.com/ddkwork/app/ms/xed.ParserPe] ***@***.***/ms/xed/pe.go:10 [github.com/ddkwork/hyperdbgui/ux.LayoutDisassemblyTable.func3] C:/Users/Sina/Desktop/gui/ux/cpu.go:235 [github.com/ddkwork/app/widget.NewTable[...]] ***@***.***/widget/table.go:422 [github.com/ddkwork/hyperdbgui/ux.LayoutDisassemblyTable] C:/Users/Sina/Desktop/gui/ux/cpu.go:214 [github.com/ddkwork/hyperdbgui/ux.LayoutCpu] C:/Users/Sina/Desktop/gui/ux/cpu.go:25 [github.com/ddkwork/hyperdbgui/ux.NewPage] C:/Users/Sina/Desktop/gui/ux/HyperDbg.go:118 [main.main.Run.func1] C:/Users/Sina/Desktop/gui/ux/HyperDbg.go:31 [github.com/ddkwork/app.RunWithIco.func1.1] ***@***.***/app.go:49 [github.com/richardwilkes/toolbox.CallWithHandler] ***@***.***/call.go:24 [github.com/richardwilkes/toolbox.Call] ***@***.***/call.go:18 [github.com/richardwilkes/unison.finishStartup] ***@***.***/app.go:183 [github.com/richardwilkes/toolbox.CallWithHandler] ***@***.***/call.go:24 [github.com/richardwilkes/unison.processNextTask] ***@***.***/task.go:51 [github.com/richardwilkes/unison.processEvents] ***@***.***/app.go:164 [github.com/richardwilkes/unison.Start] ***@***.***/app.go:158 [github.com/ddkwork/app.RunWithIco.func1] ***@***.***/app.go:43 [github.com/ddkwork/golibrary/mylog.callWithHandler] ***@***.***/mylog/call.go:15 [github.com/ddkwork/golibrary/mylog.Call] ***@***.***/mylog/call.go:10 [github.com/ddkwork/app.RunWithIco] ***@***.***/app.go:42 [github.com/ddkwork/hyperdbgui/ux.Run] C:/Users/Sina/Desktop/gui/ux/HyperDbg.go:30 [main.main] C:/Users/Sina/Desktop/gui/main.go:9
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.Message ID: ***@***.***>
|
Okay, that's fine. I'll continue the building process tomorrow. I'll go to sleep now. Good night. |
3 min only |
Try again |
Great! Nice job. 👌 |
好的,您抽空action一下,这样我每次提交都会发现错误 |
Great. Meanwhile, I try to finish making the new SDK hopefully this week. |
okay
…---Original---
From: "Sina ***@***.***>
Date: Sat, Jun 15, 2024 23:35 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [HyperDbg/gui] Action needed from Sina (Issue #76)
Great. Meanwhile, I try to finish making the new SDK hopefully this week.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.Message ID: ***@***.***>
|
ssdt tree table layout is complete, for io, the most effective hook iopxxxcontrolfile, the rest of the ntapi as well, we will implement in each nt api right-click context menu to perform the hook operation, and at the same time pop up the hook parameter panel, enter each api's input parameter, this I have previously implemented a structure to display a smallwidget that I've implemented before, and it's perfect for doing this. Now I need to pause the layout work on ark and work on the sdk side to make debugging a high priority. I desperately want the start command to work, because the subsequent loading of the disassembly and stacking of a series of operations is possible. iopxxx that function I have previously used the disassembly engine to find the correct offsets, just need the sdk to return the nt base to me, and then adjust the appropriate content in the inputbuffer to communicate with the driver. So the remote start command you mentioned yesterday operates under VMware? Should I loadmm first? |
I don't know what the reason is, but the module is not found, and I'm thinking about implementing hyperdbgcontrol entirely in go. https://github.com/HyperDbg/gui/blob/main/test%2Fdll%2Fdll.go#L26-L33 |
okay, got it. I didn't know I should test them, probably the translator didn't give the exact meaning. I'll test them now. 好的,明白了。我不知道我应该测试它们,可能翻译没有给出确切的意思。我现在就测试它们。 |
第三遍了 clang -fsyntax-only -nobuiltininc -Xclang -ast-dump=json combined_headers.h
clang -fsyntax-only -nobuiltininc -emit-llvm -Xclang -fdump-record-layouts -Xclang -fdump-record-layouts-complete combined_headers.h |
如果没有安装clang,则先安装llvm,在控制台下执行 clang -v正常后cd到合并的头文件目录,然后执行这两条命令,你会看到很多错误。就如我之前发的,不要加入任何Windows sdk头文件来消除这种错误,也不要更改后缀名为.hpp让编译器识别为c++,因为这会生成很多垃圾代码和更多的错误。
…---Original---
From: "Sina ***@***.***>
Date: Fri, Jun 21, 2024 19:06 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [HyperDbg/gui] Action needed from Sina (Issue #76)
okay, got it. I didn't know I should test them, probably the translator didn't give the exact meaning. I'll test them now.
好的,明白了。我不知道我应该测试它们,可能翻译没有给出确切的意思。我现在就测试它们。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.Message ID: ***@***.***>
|
Should I run the above command in the main GUI repo path? 我应该在主 GUI repo 路径中运行上述命令吗? |
I Installed LLVM and CLANG. |
不,clang应该不识别网络路径,您应该把我最新提交的合并后的文件下载下来,并在命令文本内修正文件名,然后执行命令
…---Original---
From: "Sina ***@***.***>
Date: Fri, Jun 21, 2024 19:16 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [HyperDbg/gui] Action needed from Sina (Issue #76)
Should I run the above command in the main GUI repo path?
我应该在主 GUI repo 路径中运行上述命令吗?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.Message ID: ***@***.***>
|
So, what to do next? It seems it works without error for me. 那么,下一步该做什么?对我来说,它似乎没有错误。 |
… ---Original---
From: "Sina ***@***.***>
Date: Fri, Jun 21, 2024 19:22 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [HyperDbg/gui] Action needed from Sina (Issue #76)
image.png (view on web)
image.png (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.Message ID: ***@***.***>
|
您可以把我添加的bugfix.h 部分删除,按照你的方式修复所有错误。直到成功dump ast。
…---Original---
From: "Sina ***@***.***>
Date: Fri, Jun 21, 2024 19:23 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [HyperDbg/gui] Action needed from Sina (Issue #76)
So, what to do next? It seems it works without error for me.
那么,下一步该做什么?对我来说,它似乎没有错误。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.Message ID: ***@***.***>
|
Not sure if I correctly understand what you mean (translation issue). Could you tell me what should I do next again? 不确定我是否正确理解了您的意思(翻译问题)。您能再告诉我下一步该怎么做吗? |
Should I fix these errors? I think we need to re-order SDK headers. |
这些错误必须修复才能成功完成绑定,生成代码就靠它是否成功执行。
…---Original---
From: "Sina ***@***.***>
Date: Fri, Jun 21, 2024 19:33 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [HyperDbg/gui] Action needed from Sina (Issue #76)
Should I fix these errors? I think we need to re-order SDK headers.
我是否应该修复这些错误?我认为我们需要重新排序 SDK 标头。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.Message ID: ***@***.***>
|
Okay, I'll fix it now. |
Okay, let's check it one more. I needed to change SDK (in HyperDbg) to fix these errors? Do you need it right now? I think I needed to change the order in which some modules like the script-engine are used, which takes some time. 好的,我们再检查一下。 我需要更改 SDK(在 HyperDbg 中)来修复这些错误? 你现在需要吗?我想我需要更改某些模块(如脚本引擎)的使用顺序,这需要一些时间。 |
不管你用什么方法,只要让那两条clang dump ast命令返回0 error ,0 warning,生成代码的工作就完成97%了。
…---Original---
From: "Sina ***@***.***>
Date: Fri, Jun 21, 2024 19:43 PM
To: ***@***.***>;
Cc: ***@***.******@***.***>;
Subject: Re: [HyperDbg/gui] Action needed from Sina (Issue #76)
Okay, let's check it one more.
I needed to change SDK (in HyperDbg) to fix these errors?
Am I right?
Do you need it right now? I think I needed to change the order in which some modules like the script-engine are used, which takes some time.
好的,我们再检查一下。
我需要更改 SDK(在 HyperDbg 中)来修复这些错误?
我说得对吗?
你现在需要吗?我想我需要更改某些模块(如脚本引擎)的使用顺序,这需要一些时间。
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were assigned.Message ID: ***@***.***>
|
Okay, I'll fix it next week. Right now, all those functions can be ignored (removed). 好的,我下周会修复它。目前,所有这些功能都可以忽略(删除)。 |
这是我的合并实现,或许会对您修复clang错误有用 |
okay, I'll use it. Thanks |
It needs a little bit of time since the order of headers needs to be fixed. I think I can fix it in one week. 由于需要修复标题的顺序,所以需要一点时间。我想我可以在一周内修复它。 |
Hi.你可以抽空让这个脚本工作吗?我想我需要一个实际应用中脚本工作的例子,然后按照脚本的流程让sdk api的执行顺序完全符合预期。 https://github.com/ddkwork/gui/blob/main/testdata%2Fdump_x86regFor64bit_interge_calc.ds#L1-L23 这是调试目标的源代码 编译后的文件位于脚本目录下的asm.exe 和ask.pdb WhatsApp无法接受验证码了。 |
The problem with above script is that you used HyperDbg in the local debugging (VMI Mode). Instead of using these commands:
use the |
我将抽空让run命令在ui和go api下工作,此外,我们需要增加一种这个功能的api: 自动步入,自动步过,功能的调试api,比如说:假设f9运行程序一次,那么增加的api就是:run+运行次数 |
Stepping APIs are already available here: |
ok |
I noticed there are many issues in this repo, and I'm not sure which ones require my action. To improve our communication, I've created this Issue. Please post anything that needs my attention here, so I won't miss any of them.
我注意到这个 repo 中有很多问题,我不确定哪些需要我处理。为了改善我们的沟通,我创建了这个 Issue。请在此处发布任何需要我注意的内容,这样我就不会错过任何内容。
The text was updated successfully, but these errors were encountered: