| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 6fcf061 commit 0367d89
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,6 +12,7 @@ | |||
| 12 | 12 | # sh64 port by Paul Mundt | |
| 13 | 13 | # Random bits by Matt Mackall <mpm@selenic.com> | |
| 14 | 14 | # M68k port by Geert Uytterhoeven and Andreas Schwab | |
| 15 | + # AVR32 port by Haavard Skinnemoen <hskinnemoen@atmel.com> | ||
| 15 | 16 | # | |
| 16 | 17 | # Usage: | |
| 17 | 18 | # objdump -d vmlinux | stackcheck.pl [arch] | |
@@ -37,6 +38,10 @@ | |||
| 37 | 38 | if ($arch eq 'arm') { | |
| 38 | 39 | #c0008ffc: e24dd064 sub sp, sp, #100 ; 0x64 | |
| 39 | 40 | $re = qr/.*sub.*sp, sp, #(([0-9]{2}|[3-9])[0-9]{2})/o; | |
| 41 | + } elsif ($arch eq 'avr32') { | ||
| 42 | + #8000008a: 20 1d sub sp,4 | ||
| 43 | + #80000ca8: fa cd 05 b0 sub sp,sp,1456 | ||
| 44 | + $re = qr/^.*sub.*sp.*,([0-9]{1,8})/o; | ||
| 40 | 45 | } elsif ($arch =~ /^i[3456]86$/) { | |
| 41 | 46 | #c0105234: 81 ec ac 05 00 00 sub $0x5ac,%esp | |
| 42 | 47 | $re = qr/^.*[as][du][db] \$(0x$x{1,8}),\%esp$/o; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments