Ticket #124 (new defect)
Opened 15 months ago
bin2hex.pl fails to find function name when building libkernsh
| Reported by: | L33ckma | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | v0.82 |
| Component: | libkernsh | Version: | |
| Severity: | Medium | Keywords: | bin2hex.pl failure |
| Cc: |
Description
it seems that the perl script bin2hex.pl (in eresi-0.82b2/libkernsh/user/symbols/bin2hex.pl) fails to find function name after objdump disassemble object files and redirecting results into text files (kfree.dis, kmalloc.dis, vfree.dis and vmalloc.dis). The script assume that function name is in the 7th line but obviously try to find it at the 6th. This leads to the unability of building libkernsh because the script never stop. Tried under linux/ia-32 (ubuntu 9.04 with objdump 2.19.1). I've attached a 'kind' of patch. (I'm pretty sure that the function name is always at the 7th line but haven't tested other versions of obj, so i didn't take care of verifying the line in the patch, but instead i've modified the regex).
