rewrite.map 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. function: {
  2. source: source_function,
  3. target: target_function,
  4. }
  5. global variable: {
  6. source: source_variable,
  7. target: target_variable,
  8. }
  9. function: {
  10. source: source_function_(.*),
  11. transform: target_\1,
  12. }
  13. global variable: {
  14. source: source_variable_(.*),
  15. transform: target_\1,
  16. }
  17. function: {
  18. source: naked_source_function,
  19. target: naked_target_function,
  20. naked: true,
  21. }
  22. function: {
  23. source: imported_function,
  24. target: exported_function,
  25. }
  26. function: {
  27. source: missing_global_leader_prefix,
  28. target: DO_NOT_REWRITE,
  29. }
  30. function: {
  31. source: first_callee,
  32. target: renamed_callee,
  33. }
  34. global alias: {
  35. source: _ZN1SC1Ev,
  36. target: _ZN1SD1Ev,
  37. }
  38. function: {
  39. source: source_comdat_function,
  40. target: target_comdat_function,
  41. }
  42. function: {
  43. source: source_comdat_function_(.*),
  44. transform: target_comdat_function_\1,
  45. }
  46. global variable: {
  47. source: source_comdat_variable,
  48. target: target_comdat_variable,
  49. }
  50. global variable: {
  51. source: source_comdat_variable_(.*),
  52. transform: target_comdat_variable_\1,
  53. }