Skip to content
Snippets Groups Projects
Commit 9a9cad79 authored by Anh Nguyen-Tuong's avatar Anh Nguyen-Tuong
Browse files

Fix grep pattern

parent 5906ce22
No related branches found
No related tags found
No related merge requests found
......@@ -319,7 +319,7 @@ find_main()
log_error_exit "error finding entry point address"
fi
else
grep "libc_start_main" $tmp_objdump | grep ">:" | grep -e -v "@plt" -v "jmp" >/dev/null 2>&1
grep "libc_start_main" $tmp_objdump | grep ">:" | grep -v -e "@plt" -e "jmp" >/dev/null 2>&1
if [ $? -eq 0 ]; then
log_msg "Detected libc: no main"
rm $tmp_objdump
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment