()
| 313 | const V4_BINARY: &[u8] = include_bytes!("../testdata/unwind_data_v4.bin"); |
| 314 | |
| 315 | fn create_sample_v2() -> UnwindDataV2 { |
| 316 | UnwindDataV2 { |
| 317 | path: "/lib/test.so".to_string(), |
| 318 | timestamp: Some(12345), |
| 319 | avma_range: 0x1000..0x2000, |
| 320 | base_avma: 0x1000, |
| 321 | base_svma: 0x0, |
| 322 | eh_frame_hdr: vec![1, 2, 3, 4], |
| 323 | eh_frame_hdr_svma: 0x100..0x200, |
| 324 | eh_frame: vec![5, 6, 7, 8], |
| 325 | eh_frame_svma: 0x200..0x300, |
| 326 | } |
| 327 | } |
| 328 | |
| 329 | fn create_sample_v3() -> UnwindDataV3 { |
| 330 | UnwindDataV3 { |
no outgoing calls