X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=ia32rtools.git;a=blobdiff_plain;f=run_sed.sh;h=29df071ed2d0dbb2a0305a213a190b643e16a168;hp=b1d094065fcb94ee7eb0d5fb6617bb0b77b35f2b;hb=315b77eb1daa01b075f6a08fc88a782f89d88dff;hpb=9af99da37c3b50725fa04d343cb9b589e3da6f97 diff --git a/run_sed.sh b/run_sed.sh index b1d0940..29df071 100755 --- a/run_sed.sh +++ b/run_sed.sh @@ -12,7 +12,7 @@ for sym in $usyms; do done echo "\ -s/^\([ ]\?loc[r_].*[0-9A-F]:\)[^:]\(.*\;\)/\1:\t\2/g;\ +s/^\([ +-]\?loc[r_].*[0-9A-F]:\)[^:]\(.*\;\)/\1:\t\2/g;\ s/dd[[:blank:]]rva/dd/;\ s/\\t\[esp+4+var_4\]/fldcw\tword ptr \[esp\]/;\ s/\byte # - get rid of type propagation, regenerate as 'simple' var_ +# - convert ds:0[eax*4] -> [eax*4+0] (h hotkey) +# - rm function chunks - they're funcs reached by tailcalls (usually)