This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| readelf -x .init_array mmpayuserappsvr |sed '1,2d'|sed '/^\s*$/d'|awk '{print $2}{print $3}{print $4}{print $5}'|sed 's/.\{2\}/& /g'|awk '{ for (i=NF; i>1; i--) printf("%s",$i); print $1; }'|xargs addr2line -e mmpayuserappsvr | |
| readelf -x .ctors patchbuild |sed '1,2d'|sed '/^\s*$/d'|awk '{print $2}{print $3}{print $4}{print $5}'|sed 's/.\{2\}/& /g'|awk '{ for (i=NF; i>1; i--) printf("%s",$i); print $1; }'|tac|xargs addr2line -e patchbuild |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| ### default variables | |
| tracing=/sys/kernel/debug/tracing | |
| flock=/var/tmp/.ftrace-lock; wroteflock=0 | |
| opt_duration=0; duration=; opt_name=0; name=; opt_time=0; opt_reexec=0 | |
| opt_argc=0; argc=8; max_argc=16; ftext= | |
| trap ':' INT QUIT TERM PIPE HUP # sends execution to end tracing section |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| import json | |
| import os | |
| def dual_keys(): | |
| def dual_key(key_code, to, to_if_alone): | |
| description = "{key_code} to {to} if pressed with other keys, to {to_if_alone} if pressed alone".format( | |
| key_code=key_code, | |
| to=to, | |
| to_if_alone=to_if_alone | |
| ) |