일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- 안티디버깅
- so inject
- linux debugging
- pthread
- on stack replacement
- on-stack replacement
- custom packer
- LLVM 난독화
- Obfuscator
- OSR
- Linux custom packer
- uftrace
- thread local storage
- v8 optimizing
- TLS
- Android
- tracerpid
- Linux packer
- v8 tracing
- linux thread
- LLVM Obfuscator
- 난독화
- anti debugging
- apm
- pinpoint
- tracing
- initial-exec
- android inject
- LLVM
- Injection
- Today
- Total
목록전체 글 (131)
Why should I know this?
~X NOT X A + B NOT -1 -B - A B - A NOT A + (-1 - B) A - B NOT B + (-1 - A) A ^ B NOT A ^ ~B A ^ ~B NOT A ^ B A s>> B NOT ~A s>>B 부연설명 A+B -> -1 -B -A (양->음전) 100+100 이라고 하면, 결과는 200, NOT은 -201이 나와야 함. -100 -100 -1 = -201 A-B -> B + (-A - 1(양>음전)) A^B -> A^~B ; A^B는 A를 -1로 생각하면 -1^B -> ~B가 됨. 이의 NOT은 B. -1^~B = B A s>> B -> ~A s>> B ; (몰?루?)
1. 정의 2. 주요 기능 3. 활용 예제 1. ConstantRange 는 ConstantRange.h 에 선언되어 있다. /// This class represents a range of values. 생성자 셋 ConstantRange::ConstantRange(uint32_t BitWidth, bool Full) : Lower(Full ? APInt::getMaxValue(BitWidth) : APInt::getMinValue(BitWidth)), Upper(Lower) {} ConstantRange::ConstantRange(APInt V) : Lower(std::move(V)), Upper(Lower + 1) {} ConstantRange::ConstantRange(APInt L, APInt ..
1. 기능 설명 2. 내부 함수 설명 3. 활용 설명 https://github.com/ParkHanbum/llvm-project/commit/d77067d08a3f56dc2d0e6c95bd2852c943df743a [ValueTracking] Add dominating condition support in computeKnownBits(… · ParkHanbum/llvm-project@d77067d …) (#73662) This adds support for using dominating conditions in computeKnownBits() when called from InstCombine. The implementation uses a DomConditionCache, which stores ..
LLVM 에는 최적화를 위한 부가 데이터가 있다. value.h protected: /// Hold subclass data that can be dropped. /// /// This member is similar to SubclassData, however it is for holding /// information which may be used to aid optimization, but which may be /// cleared to zero without affecting conservative interpretation. unsigned char SubclassOptionalData : 7; SubClassOptionalData or disjoint disjoint는 or 최적화를 위한 ..
computeKnownBits https://llvm.org/doxygen/ValueTracking_8cpp.html#a903bd19e9d31beff55b22fe86111639e Determine which bits of V are known to be either zero or one and return them. void computeKnownBits (const Value *V, KnownBits &Known, const DataLayout &DL, unsigned Depth=0, AssumptionCache *AC=nullptr, const Instruction *CxtI=nullptr, const DominatorTree *DT=nullptr, bool UseInstrInfo=true) Dete..
* 다른 이슈 스터디 차원에서 먼저 일부 GVN 로직을 다룹니다. ;*** IR Dump After MergedLoadStoreMotionPass on test1 *** ; Function Attrs: mustprogress nofree norecurse nosync nounwind readnone uwtable willreturn define dso_local zeroext i1 @test1(i1 noundef zeroext %a, i1 noundef zeroext %b) local_unnamed_addr #0 { entry: %or5 = or i1 %a, %b br i1 %or5, label %cond.true, label %cond.false cond.true: ; preds = %entry %xo..