Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在进行逆向工程时,我总是需要寻找特定的功能。我曾经使用radare2过命令s <function_name>,它在 的第一条指令上设置断点function_name。
radare2
s <function_name>
function_name
gdb中是否有类似的方法?
是的:break *function_name。
break *function_name
来自(gdb) help break:
(gdb) help break
Address locations begin with "*" and specify an exact address in the program. Example: To specify the fourth byte past the start function "main", use "*main + 4".